fix: caddy hatchet with livekit

This commit is contained in:
Juan
2026-04-01 19:52:34 -05:00
parent 240f0c9000
commit da8f7ba1b5

View File

@@ -1439,12 +1439,12 @@ CADDYEOF
ok "Caddyfile already exists"
fi
# Add Hatchet dashboard route if Daily.co is detected
if [[ "$DAILY_DETECTED" == "true" ]]; then
# Add Hatchet dashboard route (Hatchet is always-on for all multitrack pipelines)
if [[ "$DAILY_DETECTED" == "true" ]] || [[ "$LIVEKIT_DETECTED" == "true" ]]; then
if ! grep -q "hatchet" "$caddyfile" 2>/dev/null; then
cat >> "$caddyfile" << CADDYEOF
# Hatchet workflow dashboard (Daily.co multitrack processing)
# Hatchet workflow dashboard (multitrack processing)
:8888 {
tls internal {
on_demand