Why I cannot find the php-fpm service to restart inside the container ?
I cannot run out of the 502 Bad Gateway error as for some reason my nginx container does not find the php-fpm socket, even changing the listen mode.
I am on OSX my docker-compose as follows:
version: "3"
services:
web:
image: nginx:latest
ports:
- "8080:80"
volumes:
- ./../app:/home/app
- ./backend.conf:/etc/nginx/conf.d/default.conf
php:
image: php:7.1-fpm
volumes:
- ./../app:/home/app
ports:
- "9000:9000"
Why I cannot find the php-fpm service to restart inside the container ?
I cannot run out of the 502 Bad Gateway error as for some reason my nginx container does not find the php-fpm socket, even changing the listen mode.
I am on OSX my docker-compose as follows:
version: "3" services: web: image: nginx:latest ports: - "8080:80" volumes: - ./../app:/home/app - ./backend.conf:/etc/nginx/conf.d/default.conf php: image: php:7.1-fpm volumes: - ./../app:/home/app ports: - "9000:9000"