2
0

docker-compose.dev.yml 1.0 KB

123456789101112131415161718192021222324252627
  1. ## Mark Shust's Docker Configuration for Magento
  2. ## (https://github.com/markshust/docker-magento)
  3. ##
  4. ## Version 40.0.0
  5. version: "3"
  6. services:
  7. app:
  8. volumes: &appvolumes
  9. ## Host mounts with performance penalty, only put what is necessary here
  10. - ./src/app/code:/var/www/html/app/code:cached
  11. - ./src/app/design:/var/www/html/app/design:cached
  12. - ./src/app/etc:/var/www/html/app/etc:cached
  13. - ./src/composer.json:/var/www/html/composer.json:cached
  14. - ./src/composer.lock:/var/www/html/composer.lock:cached
  15. - ./src/nginx.conf.sample:/var/www/html/nginx.conf:cached
  16. #- ./src/auth.json:/var/www/html/auth.json:cached
  17. #- ./src/m2-hotfixes:/var/www/html/m2-hotfixes:cached
  18. #- ./src/patches:/var/www/html/patches:cached
  19. #- ./src/var/log:/var/www/html/var/log:cached
  20. #- ./src/var/report:/var/www/html/var/report:cached
  21. ## To sync your SSH key to the container, uncomment:
  22. #- ~/.ssh/id_rsa:/var/www/.ssh/id_rsa:cached
  23. phpfpm:
  24. volumes: *appvolumes