chore: manage version and remove unused ports
This commit is contained in:
@@ -1,20 +1,18 @@
|
|||||||
services:
|
services:
|
||||||
syncthing:
|
syncthing:
|
||||||
image: syncthing/syncthing
|
image: syncthing/syncthing:2.0.13
|
||||||
container_name: syncthing
|
container_name: syncthing
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
|
||||||
- ./data:/var/syncthing
|
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
|
volumes:
|
||||||
|
- ./data:/var/syncthing
|
||||||
networks:
|
networks:
|
||||||
- reverse-proxy
|
- reverse-proxy
|
||||||
ports:
|
ports:
|
||||||
- "8384:8384"
|
|
||||||
- "22000:22000/tcp"
|
- "22000:22000/tcp"
|
||||||
- "22000:22000/udp"
|
- "22000:22000/udp"
|
||||||
- "21027:21027/udp"
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1
|
test: curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1
|
||||||
interval: 1m
|
interval: 1m
|
||||||
|
|||||||
Reference in New Issue
Block a user