mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 18:01:03 +01:00
fix: do healthcheck on proper flaresolverr endpoint
Since flaresolverr has a specific endpoint for healthchecks (/health) it could make sense to use it insted of the root. Also, this will not flood the log when using INFO LOG_LEVEL (default) with entries like: 2024-01-15T17:49:56.962520+01:00 hassio addon_db21ed7f_flaresolverr[816]: 2024-01-15 17:49:56 INFO 127.0.0.1 GET http://127.0.0.1:8191/ 200 OK
This commit is contained in:
@@ -103,7 +103,7 @@ LABEL \
|
||||
#################
|
||||
|
||||
ENV HEALTH_PORT="8191" \
|
||||
HEALTH_URL=""
|
||||
HEALTH_URL="health"
|
||||
HEALTHCHECK \
|
||||
--interval=5s \
|
||||
--retries=5 \
|
||||
|
||||
Reference in New Issue
Block a user