Fix syncthing

This commit is contained in:
Jean Froment 2022-02-14 10:53:26 +01:00
parent c3a20d0264
commit 19208bba9f
1 changed files with 4 additions and 7 deletions

View File

@ -10,20 +10,17 @@ services:
volumes:
- configsyncthing:/config
- torrents:/torrents
# ports:
ports:
# #- 8384:8384
# - 22000:22000/tcp
# - 22000:22000/udp
# - 21027:21027/udp
- 22000:22000/tcp
- 22000:22000/udp
- 21027:21027/udp
labels:
- "traefik.enable=true"
- "traefik.http.routers.syncthing.rule=Host(`syncthing.${TRAEFIK_DOMAIN}`)"
- "traefik.http.routers.syncthing.middlewares=common-auth@file"
- "traefik.http.routers.syncthing.service=syncthing"
- "traefik.http.services.syncthing.loadbalancer.server.port=8384"
- "traefik.http.routers.synchro.rule=Host(`synchro.${TRAEFIK_DOMAIN}`)"
- "traefik.http.routers.synchro.service=synchro"
- "traefik.http.services.synchro.loadbalancer.server.port=22000"
volumes:
configsyncthing: