From 6aeafda60419bd454ce1e670be2c05462aa9cdb2 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Sat, 23 Apr 2022 16:12:16 +0200 Subject: [PATCH] fix: Reactivate posgtres password --- src/lib/database/common.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/database/common.ts b/src/lib/database/common.ts index 47a8c3f9a..968208f55 100644 --- a/src/lib/database/common.ts +++ b/src/lib/database/common.ts @@ -154,6 +154,7 @@ export function generateDatabaseConfiguration(database: Database & { settings: D ulimits: Record; privatePort: number; environmentVariables: { + POSTGRESQL_POSTGRES_PASSWORD: string; POSTGRESQL_USERNAME: string; POSTGRESQL_PASSWORD: string; POSTGRESQL_DATABASE: string; @@ -220,6 +221,7 @@ export function generateDatabaseConfiguration(database: Database & { settings: D return { privatePort: 5432, environmentVariables: { + POSTGRESQL_POSTGRES_PASSWORD: rootUserPassword, POSTGRESQL_PASSWORD: dbUserPassword, POSTGRESQL_USERNAME: dbUser, POSTGRESQL_DATABASE: defaultDatabase