From c8584dec9b6cefd7b2d8de3b56f34574aac53076 Mon Sep 17 00:00:00 2001 From: nicolaus-hee <48563755+nicolaus-hee@users.noreply.github.com> Date: Wed, 1 Jan 2025 19:45:37 +0100 Subject: [PATCH] fix: change postgres host to env variable instead of hard-coded Change postgres host name to env variable --- deploy.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.env b/deploy.env index fe4667740..c3e8f108e 100644 --- a/deploy.env +++ b/deploy.env @@ -78,7 +78,7 @@ API_EXTERNAL_URL=http://your-host # In docker environment, `postgres` is the hostname of the postgres service # GoTrue connect to postgres using this url -GOTRUE_DATABASE_URL=postgres://supabase_auth_admin:${SUPABASE_PASSWORD}@postgres:${POSTGRES_PORT}/${POSTGRES_DB} +GOTRUE_DATABASE_URL=postgres://supabase_auth_admin:${SUPABASE_PASSWORD}@{POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB} # Refer to this for details: https://github.com/AppFlowy-IO/AppFlowy-Cloud/blob/main/doc/AUTHENTICATION.md # Google OAuth2