mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-17 18:08:16 +01:00
use dbname and username from config for healtcheck
This commit is contained in:
@@ -121,4 +121,4 @@ HEALTHCHECK \
|
||||
--retries=5 \
|
||||
--start-period=90s \
|
||||
--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