Merge pull request #1038 from vwchu/master

add APACHE_SITES_PATH variable
This commit is contained in:
Mahmoud Zalt 2017-07-04 07:25:40 +03:00 committed by GitHub
commit bf60f7520b
2 changed files with 2 additions and 1 deletions

View File

@ -149,7 +149,7 @@ services:
- applications - applications
volumes: volumes:
- ${APACHE_HOST_LOG_PATH}:/var/log/apache2 - ${APACHE_HOST_LOG_PATH}:/var/log/apache2
- ./apache2/sites:/etc/apache2/sites-available - ${APACHE_SITES_PATH}:/etc/apache2/sites-available
ports: ports:
- "${APACHE_HOST_HTTP_PORT}:80" - "${APACHE_HOST_HTTP_PORT}:80"
- "${APACHE_HOST_HTTPS_PORT}:443" - "${APACHE_HOST_HTTPS_PORT}:443"

View File

@ -85,6 +85,7 @@ APACHE_HOST_HTTP_PORT=80
APACHE_HOST_HTTPS_PORT=443 APACHE_HOST_HTTPS_PORT=443
APACHE2_PHP_SOCKET=php-fpm:9000 APACHE2_PHP_SOCKET=php-fpm:9000
APACHE_HOST_LOG_PATH=./logs/apache2 APACHE_HOST_LOG_PATH=./logs/apache2
APACHE_SITES_PATH=./apache2/sites
PHP_SOCKET=php-fpm:9000 PHP_SOCKET=php-fpm:9000
### MYSQL ############################################################################################################## ### MYSQL ##############################################################################################################