chore: Update Traefik configuration to include syncthing service and adjust routing rules

This commit is contained in:
2024-05-06 16:42:59 +08:00
parent 1760a29707
commit acb3884ea0
2 changed files with 32 additions and 0 deletions
+14
View File
@@ -297,6 +297,16 @@ http:
tls:
certResolver: letsencrypt
syncthing-router:
rule: "Host(`sync.furyhawk.lol`)"
entryPoints:
- web-secure
middlewares:
- csrf
service: syncthing_app
tls:
certResolver: letsencrypt
bai-router:
rule: "Host(`bai.furyhawk.lol`)"
entryPoints:
@@ -496,6 +506,10 @@ http:
loadBalancer:
servers:
- url: http://mqttx_web:80
syncthing_app:
loadBalancer:
servers:
- url: http://syncthing:8384
streamlit_bai_app:
loadBalancer:
servers:
+18
View File
@@ -258,6 +258,24 @@ services:
- net
- default
syncthing:
image: syncthing/syncthing
container_name: syncthing
environment:
- PUID=1000
- PGID=1000
restart: unless-stopped
volumes:
- ~/st-sync:/var/syncthing
ports:
- 8384:8384 # Web UI
- 22000:22000/tcp # TCP file transfers
- 22000:22000/udp # QUIC file transfers
- 21027:21027/udp # Receive local discovery broadcasts
networks:
- net
- default
thelounge:
image: ghcr.io/thelounge/thelounge:latest
container_name: thelounge