syncthing.yml
· 464 B · YAML
Raw
services:
syncthing:
image: ghcr.io/syncthing/syncthing
container_name: syncthing
hostname: YOUR_HOSTNAME
environment:
- PUID=1000
- PGID=1000
volumes:
- ./config:/var/syncthing/config
- /home/max/Syncthing:/data
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
| 1 | services: |
| 2 | syncthing: |
| 3 | image: ghcr.io/syncthing/syncthing |
| 4 | container_name: syncthing |
| 5 | hostname: YOUR_HOSTNAME |
| 6 | environment: |
| 7 | - PUID=1000 |
| 8 | - PGID=1000 |
| 9 | volumes: |
| 10 | - ./config:/var/syncthing/config |
| 11 | - /home/max/Syncthing:/data |
| 12 | network_mode: host |
| 13 | restart: unless-stopped |
| 14 | healthcheck: |
| 15 | test: curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1 |
| 16 | interval: 1m |
| 17 | timeout: 10s |