| 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 |
mxsr / syncthing docker-compose
Last active 4 months ago
Revision 665ffbf909cfc0d242a35f53710e359bf93a1637