Merge pull request #27 from scaule/scaule-patch-cached

Performance tuning for app volume
This commit is contained in:
Kévin Dunglas 2018-06-30 12:23:48 +02:00 committed by GitHub
commit 49a016af2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ services:
STABILITY: ${STABILITY} STABILITY: ${STABILITY}
volumes: volumes:
# Comment out the next line in production # Comment out the next line in production
- ./:/srv/app:rw - ./:/srv/app:rw,cached
# If you develop on Linux, comment out the following volumes to just use bind-mounted project directory from host # If you develop on Linux, comment out the following volumes to just use bind-mounted project directory from host
- /srv/app/var/ - /srv/app/var/
- /srv/app/var/cache/ - /srv/app/var/cache/