2017-07-14 23:03:01 +02:00
|
|
|
version: "2"
|
|
|
|
|
|
|
|
options:
|
|
|
|
verbose: true
|
|
|
|
syncs:
|
|
|
|
applications-host-sync: # name of the sync volume
|
2017-07-15 18:36:02 +02:00
|
|
|
compose-dev-file-path: 'docker-compose.sync.yml' # docker-compose override file
|
2017-07-15 15:23:32 +02:00
|
|
|
|
2017-07-14 23:03:01 +02:00
|
|
|
src: '${APPLICATION}' # host source directory
|
2017-07-15 13:09:58 +02:00
|
|
|
sync_userid: 1000 # giving permissions to www-data user (as defined in nginx and php-fpm Dockerfiles)
|
2017-07-15 19:52:23 +02:00
|
|
|
sync_strategy: '${DOCKER_SYNC_STRATEGY}' # for osx use 'native_osx', for windows use 'unison'
|
2017-07-15 15:23:32 +02:00
|
|
|
|
2017-07-15 18:36:02 +02:00
|
|
|
sync_excludes: ['laradock', 'ignored_folder_example'] # ignored directories
|