fix syncthing

This commit is contained in:
peaklabs-dev 2024-11-08 21:06:54 +01:00
parent 7fcd5a7474
commit 3f65481a16
No known key found for this signature in database

View file

@ -6,20 +6,20 @@
services: services:
syncthing: syncthing:
image: 'lscr.io/linuxserver/syncthing:latest' image: lscr.io/linuxserver/syncthing:latest
environment: environment:
- SERVICE_FQDN_SYNCTHING_8384 - SERVICE_FQDN_SYNCTHING_8384
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
- TZ=Etc/UTC - TZ=${TZ:-Etc/UTC}
volumes: volumes:
- 'syncthing-config:/config' - syncthing_config:/config
- 'syncthing-data1:/data1' - syncthing_data1:/data1
- 'syncthing-data2:/data2' - syncthing_data2:/data2
ports: ports:
- '22000:22000/tcp' - 22000:22000/tcp
- '22000:22000/udp' - 22000:22000/udp
- '21027:21027/udp' - 21027:21027/udp
healthcheck: healthcheck:
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8384/"] test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8384/"]
interval: 5s interval: 5s