24 lines
524 B
YAML
24 lines
524 B
YAML
services:
|
|
syncthing:
|
|
image: syncthing/syncthing:2.0.13
|
|
container_name: syncthing
|
|
restart: always
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
volumes:
|
|
- ./data:/var/syncthing
|
|
networks:
|
|
- reverse-proxy
|
|
ports:
|
|
- "22000:22000/tcp"
|
|
- "22000:22000/udp"
|
|
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
|
|
|
|
networks:
|
|
reverse-proxy:
|
|
external: true |