forked from calbear47/coverd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.unison.yml
33 lines (32 loc) · 960 Bytes
/
docker-compose.unison.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: '3.1'
services:
nginx:
volumes:
- project_root:/app:ro
- ./docker/config/app.nginx.conf:/etc/nginx/conf.d/default.conf
depends_on:
- app
- unison
unison:
image: docksal/unison
volumes:
- ./:/source
- project_root:/destination
environment:
SYNC_DESTINATION: /destination
SYNC_PREFER: newer
SYNC_MAX_INOTIFY_WATCHES: 524288
SYNC_VERBOSE: 1
SYNC_NODELETE_SOURCE: 0
UNISON_UID: ${HOST_UID:-0}
UNISON_GID: ${HOST_GID:-0}
SYNC_EXTRA_UNISON_PROFILE_OPTS: |
ignore = Path .idea
ignore = BelowPath .idea
ignore = Path .git
ignore = BelowPath .git
ignore = Path var/*
ignore = Path var/sessions/*
privileged: true
volumes:
project_root: