initial commit
This commit is contained in:
21
file-sync/docker-compose.yml
Normal file
21
file-sync/docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
syncthing:
|
||||
image: syncthing/syncthing
|
||||
container_name: syncthing
|
||||
hostname: my-syncthing
|
||||
environment:
|
||||
- PUID=1006
|
||||
- PGID=1006
|
||||
volumes:
|
||||
- /mnt/user/appdata/syncthing/config:/var/syncthing/config
|
||||
- /mnt/user/volume1/photo/.lightroom-sync:/var/syncthing/lightroom-sync
|
||||
- /mnt/user/volume1/tonitrus/photos/.lightroom-catalog:/var/syncthing/tonitrus-lightroom-sync
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1
|
||||
interval: 1m
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
labels:
|
||||
folder.view2: "Services"
|
||||
Reference in New Issue
Block a user