mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-11 18:11:29 +02:00
use dbname and username from config for healtcheck
This commit is contained in:
@@ -121,4 +121,4 @@ HEALTHCHECK \
|
|||||||
--retries=5 \
|
--retries=5 \
|
||||||
--start-period=90s \
|
--start-period=90s \
|
||||||
--timeout=25s \
|
--timeout=25s \
|
||||||
CMD pg_isready -d postgres || exit 1
|
CMD pg_isready --dbname="${POSTGRES_DB}" --username="${POSTGRES_USER}" || exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user