Questions tagged [docker-compose]
Compose is a tool for defining and running multi-container Docker applications.
6
questions
35
votes
5answers
45k views
Configuring Docker to not use the 172.17.0.0 range
Due to problems with captive portals and the default Docker IP range I am trying to make Docker use the 198.18.0.0 range, instead of 172.17.0.0, which clashes with the captive portals used on the ...
34
votes
1answer
60k views
How does “restart: always” policy work in docker-compose?
I have docker compose file with PostgreSQL and my application, like this:
version: '3'
services:
postgresql:
image: postgres:9.6.6
ports:
- 9932:5432
expose:
- "5432"
...
10
votes
2answers
9k views
docker-compose for nginx and nodejs server
I have the following docker-compose.yml file:
version: '3'
services:
server:
build:
context: ../../
dockerfile: ./packages/website/Dockerfile
command: node ...
7
votes
4answers
8k views
Is there any way to run Postfix in foreground?
Is there any way to run Postfix in foreground?
I want to run Postfix as PID 1 in docker. I don't want to use any bash shell, supervisorD, or any wrapper to start it.
I just want to know if there is ...
1
vote
1answer
11k views
nginx and php-fpm: “Primary script unknown” while reading response header from upstream
I want pass any api/* route to php-fpm. Specifically to index.php as I use Symfony. This is the only route that should use php. Anything else will be loaded from /usr/share/nginx/html/public (just ...
0
votes
2answers
604 views
adding reverse proxy listeners nginx stops all traffic to port 80
I have two running docker containers:
A Docker container running Nginx that serves Angular app resource files that were copied into the Docker image on docker build
A Docker container that is an api ...