added docker-sync support
This commit is contained in:
parent
fe096ce282
commit
00a38fe274
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@
|
|||||||
/data
|
/data
|
||||||
.env
|
.env
|
||||||
/.project
|
/.project
|
||||||
|
.docker-sync
|
@ -7,7 +7,9 @@ services:
|
|||||||
applications:
|
applications:
|
||||||
image: tianon/true
|
image: tianon/true
|
||||||
volumes:
|
volumes:
|
||||||
- ${APPLICATION}:/var/www
|
#- ${APPLICATION}:/var/www
|
||||||
|
- applications-sync:/var/www:nocopy # nocopy is required
|
||||||
|
|
||||||
|
|
||||||
### Workspace Utilities Container ###########################
|
### Workspace Utilities Container ###########################
|
||||||
|
|
||||||
@ -668,3 +670,6 @@ volumes:
|
|||||||
driver: "local"
|
driver: "local"
|
||||||
elasticsearch-plugins:
|
elasticsearch-plugins:
|
||||||
driver: "local"
|
driver: "local"
|
||||||
|
applications-sync:
|
||||||
|
external:
|
||||||
|
name: "applications-sync"
|
||||||
|
9
docker-sync.yml
Normal file
9
docker-sync.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
version: "2"
|
||||||
|
|
||||||
|
options:
|
||||||
|
verbose: true
|
||||||
|
syncs:
|
||||||
|
applications-host-sync: # name of the sync volume
|
||||||
|
src: '${APPLICATION}' # host source directory
|
||||||
|
# sync_strategy: 'native_osx' # native_osx is the default
|
||||||
|
# sync_excludes: ['ignored_folder', '.ignored_dot_folder'] # ignored folders form sync
|
Loading…
Reference in New Issue
Block a user