mxsr revised this gist 9 months ago. Go to revision
1 file changed, 17 insertions
syncthing.yml(file created)
| @@ -0,0 +1,17 @@ | |||
| 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 | |
Newer
Older