fix: Use unique Traefik router name to avoid conflict
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
024bc3f2a3
commit
5a49a330e2
|
|
@ -5,13 +5,13 @@ services:
|
|||
restart: unless-stopped
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.conviction.rule=Host(`conviction.jeffemmett.com`)"
|
||||
- "traefik.http.routers.conviction.entrypoints=web"
|
||||
- "traefik.http.services.conviction.loadbalancer.server.port=3000"
|
||||
- "traefik.http.routers.conviction-demo.rule=Host(`conviction.jeffemmett.com`)"
|
||||
- "traefik.http.routers.conviction-demo.entrypoints=web"
|
||||
- "traefik.http.services.conviction-demo.loadbalancer.server.port=3000"
|
||||
networks:
|
||||
- traefik-public
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000"]
|
||||
test: ["CMD", "node", "-e", "fetch('http://localhost:3000').then(r => process.exit(r.ok ? 0 : 1)).catch(() => process.exit(1))"]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
|
|
|
|||
Loading…
Reference in New Issue