From d56de034e46cbed2425a859d9d19b15b179a699a Mon Sep 17 00:00:00 2001 From: Peter An <75343007+Exotica0122@users.noreply.github.com> Date: Tue, 7 May 2024 19:48:26 +1200 Subject: [PATCH] fix: Authentication failed for user "postgres" when using start-database.sh (#1868) --- cli/template/extras/start-database/postgres.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/template/extras/start-database/postgres.sh b/cli/template/extras/start-database/postgres.sh index 8e3833ae38..cbca237a66 100755 --- a/cli/template/extras/start-database/postgres.sh +++ b/cli/template/extras/start-database/postgres.sh @@ -47,6 +47,7 @@ fi docker run -d \ --name $DB_CONTAINER_NAME \ + -e POSTGRES_USER="postgres" \ -e POSTGRES_PASSWORD="$DB_PASSWORD" \ -e POSTGRES_DB=project1 \ -p 5432:5432 \