- roles.sql only touches roles this stack has (the init stopped early before) - internal database link without SSL - Mailpit without an SMTP login (GoTrue refuses one over plain SMTP) - setup.mjs refuses localhost, which the containers can't reach Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 lines
402 B
SQL
9 lines
402 B
SQL
-- From Supabase's self-hosting setup (Apache-2.0), trimmed to the roles this stack runs.
|
|
-- Sets the internal roles' passwords to POSTGRES_PASSWORD.
|
|
\set pgpass `echo "$POSTGRES_PASSWORD"`
|
|
|
|
ALTER USER authenticator WITH PASSWORD :'pgpass';
|
|
ALTER USER pgbouncer WITH PASSWORD :'pgpass';
|
|
ALTER USER supabase_auth_admin WITH PASSWORD :'pgpass';
|
|
ALTER USER supabase_storage_admin WITH PASSWORD :'pgpass';
|