Docker: fixes from a full test run

- 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>
This commit is contained in:
MangaValkandClaude Opus 5.5 committed 2026-11-17 13:56:32 +01:00
1 parent c50c645cfb
commit 861e65021f
4 files changed
+12 -8

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
-- NOTE: change to your own passwords for production environments
-- 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_functions_admin WITH PASSWORD :'pgpass';
ALTER USER supabase_storage_admin WITH PASSWORD :'pgpass';