feat(deploy): add healthchecks to docker, docker compose, podman quadlet, and helm chart (#1137)
This commit is contained in:
@@ -33,12 +33,17 @@ services:
|
||||
- ./data:/app/data
|
||||
- ./books:/books
|
||||
- ./bookdrop:/bookdrop
|
||||
healthcheck:
|
||||
test: wget -q -O - http://localhost:6060/api/v1/healthcheck
|
||||
interval: 60s
|
||||
retries: 5
|
||||
start_period: 60s
|
||||
timeout: 10s
|
||||
# Uncomment the block below if you need to override the defaults:
|
||||
#healthcheck:
|
||||
# test: wget -q --spider http://localhost:6060/api/v1/healthcheck
|
||||
# interval: 60s
|
||||
# retries: 5
|
||||
# start_period: 60s
|
||||
# timeout: 10s
|
||||
#
|
||||
# Uncomment the block below if you want to disable healthchecks:
|
||||
#healthcheck:
|
||||
# disable: true
|
||||
restart: unless-stopped
|
||||
|
||||
mariadb:
|
||||
|
||||
Reference in New Issue
Block a user