Add HTTP entrypoint for Traefik routing
🤖 Generated with Claude Code
This commit is contained in:
parent
b0a8b285d2
commit
d418c01301
|
|
@ -15,10 +15,14 @@ services:
|
||||||
labels:
|
labels:
|
||||||
# Traefik auto-discovery
|
# Traefik auto-discovery
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
# HTTP router (redirects to HTTPS in production via Cloudflare)
|
||||||
- "traefik.http.routers.ai-orchestrator.rule=Host(`ai.jeffemmett.com`)"
|
- "traefik.http.routers.ai-orchestrator.rule=Host(`ai.jeffemmett.com`)"
|
||||||
- "traefik.http.routers.ai-orchestrator.entrypoints=websecure"
|
- "traefik.http.routers.ai-orchestrator.entrypoints=web"
|
||||||
- "traefik.http.routers.ai-orchestrator.tls=true"
|
|
||||||
- "traefik.http.services.ai-orchestrator.loadbalancer.server.port=8080"
|
- "traefik.http.services.ai-orchestrator.loadbalancer.server.port=8080"
|
||||||
|
# HTTPS router
|
||||||
|
- "traefik.http.routers.ai-orchestrator-secure.rule=Host(`ai.jeffemmett.com`)"
|
||||||
|
- "traefik.http.routers.ai-orchestrator-secure.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.ai-orchestrator-secure.tls=true"
|
||||||
# Health check for Traefik
|
# Health check for Traefik
|
||||||
- "traefik.http.services.ai-orchestrator.loadbalancer.healthcheck.path=/api/health"
|
- "traefik.http.services.ai-orchestrator.loadbalancer.healthcheck.path=/api/health"
|
||||||
- "traefik.http.services.ai-orchestrator.loadbalancer.healthcheck.interval=30s"
|
- "traefik.http.services.ai-orchestrator.loadbalancer.healthcheck.interval=30s"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue