fix: change postgres host to env variable instead of hard-coded

Change postgres host name to env variable
This commit is contained in:
nicolaus-hee 2025-01-01 19:45:37 +01:00 committed by nicolaus-hee
parent 21d5325235
commit c8584dec9b
1 changed files with 1 additions and 1 deletions

View File

@ -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