mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-04 06:44:06 +02:00
Healthcheck
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
- Implemented healthcheck
|
||||
- Add message if ingress disabled
|
||||
|
||||
## Preview (27-01-2023)
|
||||
|
||||
@@ -119,11 +119,15 @@ LABEL \
|
||||
org.opencontainers.image.version=${BUILD_VERSION} \
|
||||
traefik.http.middlewares.test-compress.compress=false
|
||||
|
||||
#################
|
||||
# 6 Healthcheck #
|
||||
#################
|
||||
|
||||
ARG WEBUI_PORT=""
|
||||
ARG URL=""
|
||||
HEALTHCHECK \
|
||||
--interval=5s \
|
||||
--retries=5 \
|
||||
--start-period=30s \
|
||||
--start-period=60s \
|
||||
--timeout=25s \
|
||||
CMD photoprism status || exit 1
|
||||
|
||||
Reference in New Issue
Block a user