File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ version : ' 2'
2+
3+ services :
4+
5+ # ## Applications Code Container #############################
6+
7+ applications :
8+ image : tianon/true
9+ volumes :
10+ - applications-sync:/var/www:nocopy # nocopy is required
11+
12+ # ## Volumes Setup #############################################
13+
14+ volumes :
15+ applications-sync :
16+ external :
17+ name : " applications-host-sync"
Original file line number Diff line number Diff line change @@ -7,9 +7,7 @@ services:
77 applications :
88 image : tianon/true
99 volumes :
10- # - ${APPLICATION}:/var/www
11- - applications-sync:/var/www:nocopy # nocopy is required
12-
10+ - ${APPLICATION}:/var/www
1311
1412# ## Workspace Utilities Container ###########################
1513
@@ -670,6 +668,3 @@ volumes:
670668 driver : " local"
671669 elasticsearch-plugins :
672670 driver : " local"
673- applications-sync :
674- external :
675- name : " applications-host-sync"
Original file line number Diff line number Diff line change 66 applications-host-sync : # name of the sync volume
77 src : ' ${APPLICATION}' # host source directory
88 sync_userid : 1000 # giving permissions to www-data user (as defined in nginx and php-fpm Dockerfiles)
9- sync_strategy : ' native_osx' # native_osx is the default
9+ sync_strategy : ' native_osx' # for windows use 'unison' for linux docker-sync is not necessary
1010 sync_excludes : ['laradock', '.ignored_dot_folder'] # ignored directories
You can’t perform that action at this time.
0 commit comments