-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
For the frontend/containerpilot.json5, the consul-agent and memory-sensor jobs have restarts: 'unlimited', but the frontend job doesn't:
nodejs-example/frontend/containerpilot.json5
Lines 4 to 18 in 7ca8cc6
| { | |
| name: 'frontend', | |
| port: {{.PORT}}, | |
| exec: 'node /opt/app/', | |
| health: { | |
| exec: '/usr/bin/curl -o /dev/null --fail -s http://localhost:{{.PORT}}/check-it-out', | |
| interval: 2, | |
| ttl: 5 | |
| }, | |
| tags: [ | |
| 'traefik.backend=frontend', | |
| 'traefik.frontend.rule=Path: /,/lib/{[a-z]+},/js/{[a-z]+}', | |
| 'traefik.frontend.entryPoints=http,ws,wss' | |
| ] | |
| }, |
I'm trying to understand when restarts: 'unlimited' should be used.
Can someone explain to me why the frontend job is not restarts: 'unlimited' while the consul-agent and memory-sensor jobs are?
Metadata
Metadata
Assignees
Labels
No labels