123456789101112131415161718192021222324252627 |
- ## Mark Shust's Docker Configuration for Magento
- ## (https://github.com/markshust/docker-magento)
- ##
- ## Version 40.0.0
- version: "3"
- services:
- app:
- volumes: &appvolumes
- ## Host mounts with performance penalty, only put what is necessary here
- - ./src/app/code:/var/www/html/app/code:cached
- - ./src/app/design:/var/www/html/app/design:cached
- - ./src/app/etc:/var/www/html/app/etc:cached
- - ./src/composer.json:/var/www/html/composer.json:cached
- - ./src/composer.lock:/var/www/html/composer.lock:cached
- - ./src/nginx.conf.sample:/var/www/html/nginx.conf:cached
- #- ./src/auth.json:/var/www/html/auth.json:cached
- #- ./src/m2-hotfixes:/var/www/html/m2-hotfixes:cached
- #- ./src/patches:/var/www/html/patches:cached
- #- ./src/var/log:/var/www/html/var/log:cached
- #- ./src/var/report:/var/www/html/var/report:cached
- ## To sync your SSH key to the container, uncomment:
- #- ~/.ssh/id_rsa:/var/www/.ssh/id_rsa:cached
- phpfpm:
- volumes: *appvolumes
|