mikenikles
02/01/2022, 5:06 AMgitpod /workspace/platform/services/website $ supabase start
Error: Error starting database: Password for user postgres:
psql: error: connection to server at "localhost" (::1), port 5432 failed: FATAL: password authentication failed for user "postgres"
This is a clean environment with the supabase
CLI installed and happens when I follow the local development docs (https://supabase.com/docs/guides/local-development).
I run this in a Gitpod (www.gitpod.io) developer environment and it likely has to do with that because it works locally. If anyone has managed to run Supabase on Gitpod, please let me know I'd love to learn what you did.silentworks
02/01/2022, 3:11 PMmikenikles
02/01/2022, 6:22 PMsupabase start
. Let it pull the Docker images and you'll see the error pop up when it tries to start up.localhost
in https://github.com/supabase/cli/blob/main/internal/start/start.go#L300 is an issue. For Docker container to Docker container communication among microservices, I previously had to use 0.0.0.0
instead. Again, I can't prove it but given everything else is default settings, this may be worth checking.5432
, which isn't being served. However, I see port 54322
open (notice the extra 2
).54322
gitpod /workspace/gitpod-supabase (configure-supabase) $ psql --username postgres --host localhost --port 54322
Password for user postgres:
psql (14.1 (Ubuntu 14.1-2.pgdg20.04+1))
Type "help" for help.
postgres=#