From 9ae9553254c0e9a4abd7fb1aa3720bc5853a5103 Mon Sep 17 00:00:00 2001 From: xbgmsharp Date: Mon, 5 Dec 2022 14:56:53 +0100 Subject: [PATCH] Allow to set password from env for role grafana_auth --- initdb/99env.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/initdb/99env.sh b/initdb/99env.sh index 91ae185..8c61193 100755 --- a/initdb/99env.sh +++ b/initdb/99env.sh @@ -24,4 +24,5 @@ COMMENT ON DATABASE signalk IS 'PostgSail version ${PGSAIL_VERSION}'; -- Update password from env ALTER ROLE authenticator WITH PASSWORD '${PGSAIL_AUTHENTICATOR_PASSWORD}'; ALTER ROLE grafana WITH PASSWORD '${PGSAIL_GRAFANA_PASSWORD}'; +ALTER ROLE grafana_auth WITH PASSWORD '${PGSAIL_GRAFANA_AUTH_PASSWORD}'; END