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.

581 questions
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
  • 225
  • 1
  • 6
  • 15
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…
3x071c
  • 113
  • 8
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
1
vote
0 answers

prohibit use of ip adress to access to website (use of container nginx reverse proxy)

I use docker compose to run two containers: one with a nginx reverse proxy (nginx-proxy) one with netdata I want to disallow access to netdata with the ip address. This IP cannot get certificate (I use let's encrypt). So I get a warning about ssl…
Jean Ooo
  • 11
  • 1
1
vote
0 answers

Docker Compose WP permissions

I've a docker compose creating a WP container. The container has a more recent version of WP than the one I'm trying to import, so WP ask me to update the database and some folders. The update process fail, complaining about some permissions on…
1
vote
1 answer

OpenResty with Docker Compose cannot resolve own name (hostname.domainname) in Lua block

I have a docker image containing an OpenResty server. I am running it within a docker-compose file like this: version: '2.1' services: dev.example.com: # etc. If I set the resolver to use the Docker one in the OpenResty configuration, then I…
Tom Fenech
  • 190
  • 10
1
vote
1 answer

Docker-compose stop does not stop all containers

I have a test rails 5.2.2 app running in docker and reports no errors in console but when I run docker-compose stop there is 1 container which doesn't stop. My o/s is macos running Docker for Mac. The container which doesn't stop is…
markhorrocks
  • 513
  • 3
  • 10
  • 26
1
vote
1 answer

Redis Sentinel not respecting announce-ip option

I am attempting to create a redis-sentinel cluster using docker-compose on my system and have it visible to the host machine (this is to try and replicate an application that is going to use redis-sentinel locally). I have created the following…
mdedetrich
  • 111
  • 1
  • 3
1
vote
0 answers

docker compose containers not given access to host

I have a question very similar to this one: Iptables rule-set so that a docker container can access a service on a host IP where my containers are not being allowed to access the host. The problem with the linked stackoverflow accepted answer is…
1
vote
1 answer

Generate LetsEncrypt Certs to NFS share

Im trying to generate a letsencrypt wildcard cert to use on various websites (one FQDN, multiple subdomains). The plan is to save those certs on a NFS share I have to easily access them on various webservers. But when I mount my NFS share to…
cclloyd
  • 593
  • 2
  • 14
  • 29
1
vote
2 answers

Docker Composer - Failing to run my webapp and mysql images

I am new to docker and I am struggling to have the below scenario working: I have a working webapp image that uses alpine with tomcat 9 as a base image and a added my web app along with a series of user libraries. Then I have a database image with…
1
vote
1 answer

Connection Refused Error Nginx Nodejs

I am following this YouTube tutorial on how to configure Nginx Server on Docker but I am getting the following error proxy_1 | 2018/07/14 22:18:24 [error] 5#5: *1 connect() failed (111: Connection refused) while connecting to upstream,…
Sachin Divakar
  • 111
  • 1
  • 5