fix: route Syncthing web UI through Traefik with HTTPS
This commit is contained in:
@@ -73,7 +73,7 @@ services:
|
|||||||
hostname: syncthing
|
hostname: syncthing
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8384:8384"
|
- "8384:8384"
|
||||||
- "22000:22000"
|
- "22000:22000"
|
||||||
- "21027:21027/udp"
|
- "21027:21027/udp"
|
||||||
environment:
|
environment:
|
||||||
@@ -84,6 +84,17 @@ services:
|
|||||||
- /mnt/HoardingCow_docker_data/Syncthing/org-rw:/org-rw
|
- /mnt/HoardingCow_docker_data/Syncthing/org-rw:/org-rw
|
||||||
networks:
|
networks:
|
||||||
- ai_backend
|
- ai_backend
|
||||||
|
- ai_net
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.syncthing-http.rule=Host(`syncthing.lazyworkhorse.net`)"
|
||||||
|
- "traefik.http.routers.syncthing-http.entrypoints=web"
|
||||||
|
- "traefik.http.routers.syncthing-http.middlewares=redirect-to-https"
|
||||||
|
- "traefik.http.routers.syncthing-https.rule=Host(`syncthing.lazyworkhorse.net`)"
|
||||||
|
- "traefik.http.routers.syncthing-https.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.syncthing-https.tls=true"
|
||||||
|
- "traefik.http.routers.syncthing-https.tls.certresolver=njalla"
|
||||||
|
- "traefik.http.services.syncthing.loadbalancer.server.port=8384"
|
||||||
|
|
||||||
ollama:
|
ollama:
|
||||||
build:
|
build:
|
||||||
|
|||||||
Reference in New Issue
Block a user