Browse Source

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/
Taufek Johar 7 years ago
parent
commit
00e43655bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docker-compose.dev.yml

+ 1 - 1
docker-compose.dev.yml

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