mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
Add a health check
Adds a health check to ensure the container's webserver is running
This commit is contained in:
parent
ba111073d6
commit
8597ef7a8d
1 changed files with 3 additions and 0 deletions
|
@ -30,3 +30,6 @@ ENV ENV prod
|
||||||
ENV APP_MODULE "app:app"
|
ENV APP_MODULE "app:app"
|
||||||
|
|
||||||
VOLUME [ "/app/data" ]
|
VOLUME [ "/app/data" ]
|
||||||
|
|
||||||
|
# healthcheck
|
||||||
|
HEALTHCHECK CMD curl -sL --fail localhost || exit 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue