Add syncthing compose
This commit is contained in:
17
syncthing-compose.yml
Executable file
17
syncthing-compose.yml
Executable file
@@ -0,0 +1,17 @@
|
||||
services:
|
||||
syncthing:
|
||||
image: syncthing/syncthing:1.29
|
||||
container_name: syncthing
|
||||
hostname: cyka-syncthing
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
volumes:
|
||||
- /mnt/data/docker/volumes/captain--sync-data/_data:/var/syncthing
|
||||
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
|
Reference in New Issue
Block a user