Skip to content

Commit

Permalink
Delegate all of storage & cpresources volumes, let the container …
Browse files Browse the repository at this point in the history
…own it
  • Loading branch information
Andrew Welch committed Apr 27, 2021
1 parent e9ba689 commit dcd08d0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
ports:
- "8000:80"
volumes:
- cpresources:/var/www/project/cms/web/cpresources
- cpresources:/var/www/project/cms/web/cpresources:delegated
- ./cms/web:/var/www/project/cms/web:cached
# php - run php-fpm
php:
Expand All @@ -28,12 +28,10 @@ services:
- "9000"
init: true
volumes: &php-volumes
- cpresources:/var/www/project/cms/web/cpresources
- storage:/var/www/project/cms/storage
- cpresources:/var/www/project/cms/web/cpresources:delegated
- storage:/var/www/project/cms/storage:delegated
- ./cms:/var/www/project/cms:cached
- ./cms/vendor:/var/www/project/cms/vendor:delegated
- ./cms/storage/logs:/var/www/project/cms/storage/logs:delegated
- ./cms/storage/runtime/compiled_templates:/var/www/project/cms/storage/runtime/compiled_templates:delegated
# php - run php-fpm with xdebug
php_xdebug:
build:
Expand Down

0 comments on commit dcd08d0

Please sign in to comment.