8 lines
336 B
SQL
8 lines
336 B
SQL
-- Sets the service-role passwords to POSTGRES_PASSWORD on first boot, so
|
|
-- auth, rest and realtime can log in with the one password in .env.
|
|
\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';
|