Browse Source

add APACHE_SITES_PATH variable

Vincent Chu 7 years ago
parent
commit
bc1c957f47
2 changed files with 2 additions and 1 deletions
  1. 1 1
      docker-compose.yml
  2. 1 0
      env-example

+ 1 - 1
docker-compose.yml

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

+ 1 - 0
env-example

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