Use Volume Cached Flag for Application Path Volume

Use cached flag to speed up file sync performance.

References:

https://docs.docker.com/docker-for-mac/osxfs-caching/#tuning-with-consistent-cached-and-delegated-configurations

https://blog.docker.com/2017/05/user-guided-caching-in-docker-for-mac/
This commit is contained in:
Taufek Johar 2018-02-25 17:21:53 +08:00
parent 8d0bd8505c
commit 00e43655bd

View File

@ -6,4 +6,4 @@ services:
applications: applications:
volumes: volumes:
- ${APPLICATION}:/var/www - ${APPLICATION}:/var/www:cached