brokeless: fully local by default, and a README for it
- BROKE_OFFLINE=1 (on in Docker) turns off the GitHub update check and the exchange-rate fetch, so the server makes no calls out - auto-update in scripts/start.mjs pulls from your own repo (origin), never upstream - install.sh points at brokeless; drop the workflow that merged upstream by itself - compose project and image are named brokeless - README: what changed from broke, how to run it, how to review upstream Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
861e65021f
commit
cec3b15c2c
9 files changed
+139
-94
No files matched your search
@@ -1,11 +1,11 @@
|
||||
# broke with everything it needs, all on your own server. See README.md in this folder.
|
||||
# brokeless: broke with everything it needs, all on your own server. See README.md in this folder.
|
||||
# node docker/setup.mjs --url http://192.168.1.10:3000 (once: writes docker/.env with fresh secrets)
|
||||
# docker compose -f docker/docker-compose.yml up -d --build
|
||||
# ... --profile ai up -d (also runs Ollama for local AI)
|
||||
#
|
||||
# Supabase parts (db, auth, rest) follow Supabase's own self-hosting setup, cut down to what broke uses.
|
||||
|
||||
name: broke
|
||||
name: brokeless
|
||||
|
||||
x-hardening: &hardening
|
||||
restart: unless-stopped
|
||||
@@ -33,11 +33,13 @@ services:
|
||||
args:
|
||||
NEXT_PUBLIC_SUPABASE_URL: ${PUBLIC_URL}
|
||||
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY: ${ANON_KEY}
|
||||
image: broke:local
|
||||
image: brokeless:local
|
||||
cap_drop: [ALL]
|
||||
environment:
|
||||
NEXT_PUBLIC_SUPABASE_URL: ${PUBLIC_URL}
|
||||
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY: ${ANON_KEY}
|
||||
# No calls out: no update check, no exchange rates. Set to 0 for rates across currencies (frankfurter.dev).
|
||||
BROKE_OFFLINE: ${BROKE_OFFLINE:-1}
|
||||
SUPABASE_SERVICE_ROLE_KEY: ${SERVICE_ROLE_KEY}
|
||||
# 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
|
||||
@@ -149,7 +151,7 @@ services:
|
||||
MP_UI_AUTH: broke:${MAIL_PASSWORD}
|
||||
MP_MAX_MESSAGES: 200
|
||||
|
||||
# Local AI, full detail stays here. Start with --profile ai, then: docker exec broke-ollama-1 ollama pull <model>
|
||||
# Local AI, full detail stays here. Start with --profile ai, then: docker exec brokeless-ollama-1 ollama pull <model>
|
||||
ollama:
|
||||
<<: *hardening
|
||||
image: ollama/ollama:latest
|
||||
|
||||
Reference in new issue
Block a user