add APACHE_SITES_PATH variable

This commit is contained in:
Vincent Chu 2017-06-30 06:22:55 -04:00
parent 7c9f9c1ecd
commit bc1c957f47
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 ##############################################################################################################