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:
1 parent
c50c645cfb
commit
861e65021f
4 files changed
+12
-8
No files matched your search
@@ -39,7 +39,8 @@ services:
|
||||
NEXT_PUBLIC_SUPABASE_URL: ${PUBLIC_URL}
|
||||
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY: ${ANON_KEY}
|
||||
SUPABASE_SERVICE_ROLE_KEY: ${SERVICE_ROLE_KEY}
|
||||
SUPABASE_DB_URL: postgresql://postgres:${POSTGRES_PASSWORD}@db:5432/postgres
|
||||
# Inside the stack only, so no SSL (broke turns SSL on unless the URL says otherwise).
|
||||
SUPABASE_DB_URL: postgresql://postgres:${POSTGRES_PASSWORD}@db:5432/postgres?sslmode=disable
|
||||
LOCAL_LLM_BASE_URL: ${LOCAL_LLM_BASE_URL:-http://ollama:11434/v1}
|
||||
LOCAL_LLM_MODEL: ${LOCAL_LLM_MODEL:-}
|
||||
PLAID_CLIENT_ID: ${PLAID_CLIENT_ID:-}
|
||||
@@ -116,8 +117,8 @@ services:
|
||||
# Sign-in links go to Mailpit below by default. Point these at a real mail server to get them in your inbox.
|
||||
GOTRUE_SMTP_HOST: ${SMTP_HOST:-mailpit}
|
||||
GOTRUE_SMTP_PORT: ${SMTP_PORT:-1025}
|
||||
GOTRUE_SMTP_USER: ${SMTP_USER:-broke}
|
||||
GOTRUE_SMTP_PASS: ${SMTP_PASS:-broke}
|
||||
GOTRUE_SMTP_USER: ${SMTP_USER:-}
|
||||
GOTRUE_SMTP_PASS: ${SMTP_PASS:-}
|
||||
GOTRUE_SMTP_ADMIN_EMAIL: ${SMTP_FROM:-broke@broke.local}
|
||||
GOTRUE_SMTP_SENDER_NAME: broke
|
||||
|
||||
@@ -146,8 +147,6 @@ services:
|
||||
- "${MAIL_UI_PORT:-8025}:8025"
|
||||
environment:
|
||||
MP_UI_AUTH: broke:${MAIL_PASSWORD}
|
||||
MP_SMTP_AUTH_ACCEPT_ANY: 1
|
||||
MP_SMTP_AUTH_ALLOW_INSECURE: 1
|
||||
MP_MAX_MESSAGES: 200
|
||||
|
||||
# Local AI, full detail stays here. Start with --profile ai, then: docker exec broke-ollama-1 ollama pull <model>
|
||||
|
||||
Reference in new issue
Block a user