Questions tagged [docker-compose]

Compose is a tool for defining and running multi-container Docker applications.

Docker Compose is a tool for defining and running multi-container Docker applications.

529 questions
1
vote
1 answer

Docker-compose with VPN and DNS not resolving properly

I made a deal with my son where in, if he built a fully-working, 3 way traffic light in minecraft, I would host him his own minecraft server so he and his friends could play anytime. He upheld his end of the bargain, so it's my turn. In order to…
1
vote
1 answer

gitlab-runner process in container can't find gitlab container when using docker-compose

Update: I did not resolve my problem but I know why it does not work. If you are using docker executor, when you launch a job, gitlab-runner binary will start a special container. This container is gitlab-runner-helper and will manage git, caches,…
Antoine
  • 133
  • 5
1
vote
1 answer

docker-compose static ip does not work

I want to assign static ip to nginx, but it doesn't work at all. I have no idea where I'm doing it wrong. Could you please help? docker.compose.yml version: '3' services: web: container_name: nginx image: nginx:latest ports: -…
Spartan Troy
  • 111
  • 1
  • 2
1
vote
1 answer

container cannnot connect to service from another container

I have the following containers running: $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES b02d801f9aa3 …
ivanleoncz
  • 1,433
  • 4
  • 18
  • 32
1
vote
1 answer

Make trusted self-signed certificate not register as "self-signed" (i.e. trusted) on private network

I'm currently implementing a private Docker Registry server with nginx configured to forward https traffic securely to the running Docker Registry (i.e. docker-compose) instance on a private network (with DNS, DHCP configured). I have the entire…
Rolf
  • 11
  • 1
1
vote
0 answers

docker-compose up exited with code 1 because of few InnoDB errors

I have cat orthomcl/Dockerfile: FROM debian:stretch-backports RUN apt-get update && apt-get install -y --no-install-recommends \ wget \ cpanminus \ build-essential \ default-libmysqlclient-dev \ python \ …
user977828
  • 205
  • 4
  • 15
1
vote
1 answer

docker-compose up caused orthomcl_orthomcl_1 exited with code 0

I have cat orthomcl/Dockerfile: FROM debian:stretch-backports RUN apt-get update && apt-get install -y --no-install-recommends \ wget \ cpanminus \ build-essential \ libmariadbclient-dev \ python \ …
user977828
  • 205
  • 4
  • 15
1
vote
1 answer

docker-compose build --no-cache not working

I made some updates on a Dockerfile for one of the services, but the changes are not reflecting, when running docker-compose build, not even with --no-cache option. I added two two parameter before running pip install -f requirements.txt, but they…
ivanleoncz
  • 1,433
  • 4
  • 18
  • 32
1
vote
1 answer

redirect to a different localhost based on url nginx

I'm using docker to create multiple containers and I'm trying to redirect calls coming to my website to the relevant container. for example, if someone tries to go to http://wavenapp.com/bot/test1/webhook then his request will be redirected to…
1
vote
2 answers

Why am I getting sh: /dev/fd/63: Permission denied process substitution (anonymous pipe)

I have a shell script that adds users from a csv to a running nextcloud instance. The nextcloud instance is running inside docker containers. For some reason, I am getting an error from the line that is using process substitution <(anonymous pipe).…
quarterpi
  • 113
  • 1
  • 4
1
vote
2 answers

NGINX use root directive in if-clause

I´ve got an NGINX docker container which receives requests at port 8089 (Reverse proxied by an NGINX on my main system). It should then retrieve the $host variable to determine the correct root directory to serve. In my error log, NGINX is…
1
vote
1 answer

How do I access nginx server logs from within Docker?

I have Nginx routing requests from the browser to either the Express API or my react server, however, in the console I continue to get xhr requests that are just pending and then timeout with 502 bad gateway error which are generally caused by Nginx…
Daniel
  • 179
  • 1
  • 2
  • 13
1
vote
1 answer

Prometheus container connection refused

I have prometheus , nginx-vts , php and nginx-vts-exporter all in separated containers i'm trying to get metrics to prometheus from the exporter ,, it keeps telling me Get http://127.0.0.1:9913/metrics: dial tcp 127.0.0.1:9913: connect:…
Tyr_90
  • 11
  • 1
  • 1
  • 3
1
vote
1 answer

Unable to set network mode host in azure container

I'm trying to set up network_mode: host in my docker-compose file in scope of my azure web app for container. But it looks like this setting is ignored according to logs. There is no --network parameter passed in "docker run" command created…
Sergey K
  • 11
  • 1
1
vote
0 answers

Docker compose sometimes fails to bring up a docker container

I have an automated test that brings up a RabbitMQ container which occasionally fails because the container is stuck in ‘Created’ with no ports exposed. This can be reproduced, but not every time. Reproducing the failure relies on running a set of…
user1013341
  • 111
  • 3