Przeglądaj źródła

host-bind mount var/log for debugging #128

Mark Shust 6 lat temu
rodzic
commit
ef6e167233
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      compose/magento-2/docker-compose.dev.yml

+ 2 - 1
compose/magento-2/docker-compose.dev.yml

@@ -7,13 +7,14 @@ services:
   app:
     volumes: &appvolumes
       # Host mounts with performance penalty, only put what is necessary here
-      #- ./src/auth.json:/var/www/html/auth.json:delegated
       - ./src/app/code:/var/www/html/app/code:delegated
       - ./src/app/design:/var/www/html/app/design:delegated
       - ./src/app/etc:/var/www/html/app/etc:delegated
+      #- ./src/auth.json:/var/www/html/auth.json:delegated
       - ./src/composer.json:/var/www/html/composer.json:delegated
       - ./src/composer.lock:/var/www/html/composer.lock:delegated
       - ./src/nginx.conf.sample:/var/www/html/nginx.conf:delegated
+      - ./src/var/log:/var/www/html/var/log:delegated
 
   phpfpm:
     volumes: *appvolumes