Changing network mode to "host" for FPM container.

This commit is contained in:
Alexey Skobkin 2019-12-29 02:31:56 +03:00
parent 3df787b313
commit 6a7f3b1314
No known key found for this signature in database
GPG key ID: 5D5CEF6F221278E7

View file

@ -6,6 +6,7 @@ services:
build: build:
context: ./docker context: ./docker
container_name: magnetico-web-fpm container_name: magnetico-web-fpm
network_mode: host
ports: ports:
- "127.0.0.1:${PHP_FPM_PORT:-9000}:9000/tcp" - "127.0.0.1:${PHP_FPM_PORT:-9000}:9000/tcp"
restart: unless-stopped restart: unless-stopped