diff --git a/syncthing-docker-compose.yml b/syncthing-docker-compose.yml new file mode 100644 index 0000000..b455ad5 --- /dev/null +++ b/syncthing-docker-compose.yml @@ -0,0 +1,16 @@ +--- +version: "3" +services: + syncthing: + image: syncthing/syncthing + container_name: syncthing + volumes: + - /mnt/pokecenter/Media:/mnt/Media + - /mnt/docker_volumes/syncthing:/var/syncthing + 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 + retries: 3 \ No newline at end of file