fix(comfyui): correct port 8188->18188, add TLS ingress at comfyui.riotpiao.com (#44)

## Problem
ComfyUI pod restarting 273+ times over 45h. Startup probe failed every time.

## Root Cause
ai-dock image runs ComfyUI on port 18188 (adds 10000 to configured port), not 8188. Caddy does NOT proxy 8188->18188.

## Fix
- deployment: containerPort, probes -> 18188
- service: targetPort -> 18188
- ingress: TLS at comfyui.riotpiao.com, WebSocket headers
- CoreDNS: rewrite comfyui.riotpiao.com

## Post-merge
CoreDNS rewrite needs terraform apply + make apply-cp.
Cloudflare DNS: add CNAME comfyui.riotpiao.com -> tunnel.Reviewed-on: #44

Co-authored-by: rock <[email protected]>
This commit was merged in pull request #44.
This commit is contained in:
2026-09-13 00:18:54 +00:00
committed by rock
parent 682138c664
commit e4f6f03a8c
4 changed files with 19 additions and 8 deletions
+1 -1
View File
@@ -10,5 +10,5 @@ spec:
app: comfyui
ports:
- port: 80
targetPort: 8188
targetPort: 18188
protocol: TCP