Fix syncthing
This commit is contained in:
parent
c3a20d0264
commit
19208bba9f
|
@ -10,20 +10,17 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- configsyncthing:/config
|
- configsyncthing:/config
|
||||||
- torrents:/torrents
|
- torrents:/torrents
|
||||||
# ports:
|
ports:
|
||||||
# #- 8384:8384
|
# #- 8384:8384
|
||||||
# - 22000:22000/tcp
|
- 22000:22000/tcp
|
||||||
# - 22000:22000/udp
|
- 22000:22000/udp
|
||||||
# - 21027:21027/udp
|
- 21027:21027/udp
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.syncthing.rule=Host(`syncthing.${TRAEFIK_DOMAIN}`)"
|
- "traefik.http.routers.syncthing.rule=Host(`syncthing.${TRAEFIK_DOMAIN}`)"
|
||||||
- "traefik.http.routers.syncthing.middlewares=common-auth@file"
|
- "traefik.http.routers.syncthing.middlewares=common-auth@file"
|
||||||
- "traefik.http.routers.syncthing.service=syncthing"
|
- "traefik.http.routers.syncthing.service=syncthing"
|
||||||
- "traefik.http.services.syncthing.loadbalancer.server.port=8384"
|
- "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:
|
volumes:
|
||||||
configsyncthing:
|
configsyncthing:
|
||||||
|
|
Loading…
Reference in New Issue