Use IP address of PHP container for Apache/Nginx upstream to skip DNS lookup

This commit is contained in:
cytopia 2020-01-04 20:56:30 +01:00
parent 1b9ef528d2
commit d44905bfb5
No known key found for this signature in database
GPG Key ID: 6D56EDB8695128A2

View File

@ -264,7 +264,7 @@ services:
##
- COMPAT=${PHP_SERVER}
- PHP_FPM_ENABLE=1
- PHP_FPM_SERVER_ADDR=php
- PHP_FPM_SERVER_ADDR=172.16.238.10
- PHP_FPM_SERVER_PORT=9000
- PHP_FPM_TIMEOUT=${HTTPD_TIMEOUT_TO_PHP_FPM:-180}