fix: Reactivate posgtres password

This commit is contained in:
Andras Bacsai 2022-04-23 16:12:16 +02:00
parent 94d1af01df
commit 6aeafda604

View File

@ -154,6 +154,7 @@ export function generateDatabaseConfiguration(database: Database & { settings: D
ulimits: Record<string, unknown>; ulimits: Record<string, unknown>;
privatePort: number; privatePort: number;
environmentVariables: { environmentVariables: {
POSTGRESQL_POSTGRES_PASSWORD: string;
POSTGRESQL_USERNAME: string; POSTGRESQL_USERNAME: string;
POSTGRESQL_PASSWORD: string; POSTGRESQL_PASSWORD: string;
POSTGRESQL_DATABASE: string; POSTGRESQL_DATABASE: string;
@ -220,6 +221,7 @@ export function generateDatabaseConfiguration(database: Database & { settings: D
return { return {
privatePort: 5432, privatePort: 5432,
environmentVariables: { environmentVariables: {
POSTGRESQL_POSTGRES_PASSWORD: rootUserPassword,
POSTGRESQL_PASSWORD: dbUserPassword, POSTGRESQL_PASSWORD: dbUserPassword,
POSTGRESQL_USERNAME: dbUser, POSTGRESQL_USERNAME: dbUser,
POSTGRESQL_DATABASE: defaultDatabase POSTGRESQL_DATABASE: defaultDatabase