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
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
1 answer

How to restrict external access to ports exposed by Docker containers, while still allowing links to work?

I have a couple services running on a machine in docker containers that need to be available to a specific IP address, and need to be available to containers with links (as defined in a docker-compose file). I've tried these commands, but this seems…
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
  • 8
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
  • 471
  • 2
  • 9
  • 24
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
  • 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
  • 583
  • 1
  • 13
  • 24
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
1
vote
1 answer

Moodle behind ssl reverse proxy: "Reverse proxy enabled, server can not be accessed directly, sorry."

I tried to make moode run behind a ssl reverse proxy using this solution but I get the following error: Reverse proxy enabled, server can not be accessed directly, sorry. Please contact server administrator. In the moodle's configuration I…
Dimitrios Desyllas
  • 523
  • 2
  • 10
  • 27
1
vote
1 answer

docker-compose response interactively to docker output

I have the following docker container: FROM debian:stretch-backports RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ ruby ruby-dev \ curl wget \ gnupg \ git \ …
Mic
  • 11
  • 1
1
vote
1 answer

Why is my Docker Symfony project with Composer consuming so much memory?

Description I'm deploying my symfony project in prod. It works fine when I simply run docker-compose up. However I'm getting an issue with my deploy script and try accessing the web page in my navigator. Fatal error: Allowed memory size of…
1
vote
1 answer

Docker Nginx reverse proxy configuration

Context: I'm fairly new to nginx, and figuring out how to incrementally make this work. I've worked around this problem for a while till now, where it's actually hindering development on one of my apps as a result of improper behavior (headers not…
TomJ
  • 11
  • 1
  • 6
1
vote
2 answers

Port accessing error for a docker app on google compute engine VM instance

I'm trying to deploy an web app in a VM instance at Google Compute Engine (GCP). I connect to instance via ssh and deployed docker-compose orchestrated app. Which runs two docker containers as below. CONTAINER ID IMAGE COMMAND …