Submatter/proxmox/ct116/traefik-ct100.example.yml

49 lines
1.6 KiB
YAML
Raw Normal View History

# CT 100 Traefik dynamic config snippet — add to `/opt/appdata/traefik/config/dynamic/`
# as `ct116-submatter.yml` (or merge into your homelab Traefik dynamic dir).
#
# CT 116 publishes web:3000 and collab:1234/1235 (standalone compose override).
# Port 1235 is workspace Chat, separate from Hocuspocus on 1234.
# TLS terminates on CT 100; backends are plain HTTP.
#
# Remove stale routes after cutover (edit on CT 100, then push-traefik):
# - ct107-dev.yml: echodo / collab routers pointing at 192.168.68.107:80 (Coolify)
# - Any Dokploy CT 112 echodo routes in dynamic config
# Keep only the CT 116 backends below for echodo.stillwell.cloud hostnames.
http:
routers:
echodo:
rule: Host(`echodo.stillwell.cloud`)
entryPoints: [websecure]
service: echodo-web
tls:
certResolver: letsencrypt
echodo-collab:
rule: Host(`collab.echodo.stillwell.cloud`)
entryPoints: [websecure]
service: echodo-collab
tls:
certResolver: letsencrypt
echodo-chat:
rule: Host(`chat.stillwell.cloud`) || Host(`chat.echodo.stillwell.cloud`)
entryPoints: [websecure]
service: echodo-chat
tls:
certResolver: letsencrypt
services:
echodo-web:
loadBalancer:
servers:
- url: "http://192.168.68.116:3000"
echodo-collab:
loadBalancer:
servers:
- url: "http://192.168.68.116:1234"
echodo-chat:
loadBalancer:
servers:
# Match CHAT_PORT if overridden in the deployment environment.
- url: "http://192.168.68.116:1235"