From 00e43655bd9b487e2783d072dd46f5e518797f40 Mon Sep 17 00:00:00 2001 From: Taufek Johar Date: Sun, 25 Feb 2018 17:21:53 +0800 Subject: [PATCH] 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/ --- docker-compose.dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index ed1e80fb..45567e16 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -6,4 +6,4 @@ services: applications: volumes: - - ${APPLICATION}:/var/www + - ${APPLICATION}:/var/www:cached