fix(hermes_infra): hermes-gateway healthcheck + stop_grace_period #27
@@ -114,6 +114,15 @@ services:
|
||||
memory: 1G
|
||||
restart_policy:
|
||||
condition: on-failure
|
||||
delay: 5s
|
||||
max_attempts: 5
|
||||
healthcheck:
|
||||
test: ["CMD", "python3", "-c", "import socket; s=socket.socket(); s.settimeout(2); s.connect(('127.0.0.1', 8087))"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 60s
|
||||
stop_grace_period: 60s
|
||||
|
||||
hermes-ui:
|
||||
image: nginx:alpine
|
||||
|
||||
Reference in New Issue
Block a user