coolify/templates/compose/syncthing.yaml

29 lines
738 B
YAML
Raw Permalink Normal View History

2024-02-05 15:45:46 +00:00
# documentation: https://syncthing.net/
2024-02-22 10:53:25 +00:00
# slogan: Syncthing synchronizes files between two or more computers in real time.
# category: storage
2024-02-05 15:45:46 +00:00
# tags: filestorage, data, synchronization
2024-02-20 14:07:12 +00:00
# logo: svgs/syncthing.svg
2024-03-13 08:27:42 +00:00
# port: 8384
2024-02-05 15:45:46 +00:00
services:
syncthing:
2024-11-08 20:06:54 +00:00
image: lscr.io/linuxserver/syncthing:latest
2024-02-05 15:45:46 +00:00
environment:
- SERVICE_URL_SYNCTHING_8384
2024-02-05 15:45:46 +00:00
- PUID=1000
- PGID=1000
2024-11-08 20:06:54 +00:00
- TZ=${TZ:-Etc/UTC}
2024-02-05 15:45:46 +00:00
volumes:
2024-11-08 20:06:54 +00:00
- syncthing_config:/config
- syncthing_data1:/data1
- syncthing_data2:/data2
2024-02-05 15:45:46 +00:00
ports:
2024-11-08 20:06:54 +00:00
- 22000:22000/tcp
- 22000:22000/udp
- 21027:21027/udp
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8384/"]
interval: 5s
timeout: 20s
retries: 10