Root cause: k8s Service named 'comfyui' auto-injects COMFYUI_PORT=tcp://... into pod env, clobbering ai-dock's own COMFYUI_PORT variable which expects a port number. This broke caddy's proxy config, leaving port 8188 dead. Fix: enableServiceLinks: false, revert to port 8188 (ai-dock default). Also bump startup probe failureThreshold 60->120 (20min budget for model loading).
15 lines
205 B
YAML
15 lines
205 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: comfyui
|
|
namespace: comfyui
|
|
labels:
|
|
app: comfyui
|
|
spec:
|
|
selector:
|
|
app: comfyui
|
|
ports:
|
|
- port: 80
|
|
targetPort: 8188
|
|
protocol: TCP
|