mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-07-13 14:05:47 +00:00
feat: add healh-check like endpoint, support of healthcheck in docker compose
This commit is contained in:
@ -25,6 +25,11 @@ services:
|
||||
volume:
|
||||
nocopy: true
|
||||
|
||||
healthcheck:
|
||||
test: curl --fail --silent --output /dev/null http://backend:8080/api/v1/info
|
||||
interval: 10s
|
||||
start_period: 30s
|
||||
|
||||
command: web
|
||||
|
||||
frontend:
|
||||
@ -67,6 +72,11 @@ services:
|
||||
secrets:
|
||||
- password
|
||||
|
||||
healthcheck:
|
||||
test: curl --fail --silent --output /dev/null http://worker:8080/api/v1/info
|
||||
interval: 10s
|
||||
start_period: 30s
|
||||
|
||||
command: web
|
||||
|
||||
configs:
|
||||
|
Reference in New Issue
Block a user