ai-dock image runs ComfyUI on port 18188 (10000+8188), not 8188. Caddy in the image doesn't proxy 8188->18188, so probes and service must target 18188 directly. This caused 273 startup probe failures and constant restarts over 45h. - deployment: containerPort, probes, env all point to 18188 - service: targetPort 18188 - ingress: TLS via letsencrypt, WebSocket upgrade headers for live preview - CoreDNS: rewrite comfyui.riotpiao.com to nginx controller
15 lines
206 B
YAML
15 lines
206 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: comfyui
|
|
namespace: comfyui
|
|
labels:
|
|
app: comfyui
|
|
spec:
|
|
selector:
|
|
app: comfyui
|
|
ports:
|
|
- port: 80
|
|
targetPort: 18188
|
|
protocol: TCP
|