try different Health settings
This commit is contained in:
parent
7405c6adea
commit
d25b699e27
10 changed files with 52 additions and 27 deletions
|
|
@ -6,10 +6,13 @@ Image=quay.io/redlib/redlib:latest
|
|||
ContainerName=redlib
|
||||
AutoUpdate=registry
|
||||
EnvironmentFile=/etc/containers/systemd/redlib/.env
|
||||
HealthCmd=wget --spider -q --tries=1 http://localhost:8080/settings
|
||||
HealthInterval=5m
|
||||
HealthTimeout=3s
|
||||
PublishPort=127.0.0.1:51617:8080
|
||||
# Health
|
||||
HealthCmd=wget --spider -q --tries=1 http://localhost:8080/settings
|
||||
HealthOnFailure=kill
|
||||
HealthInterval=5m
|
||||
HealthStartPeriod=30s
|
||||
Notify=healthy
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue