Files
cobble/.env.example
T
tbenandClaude Opus 5.5 694c83346f Make Cobble a local install: setup flow, bots-first admin, settings
Local, password-only auth:
- No public pages; everything outside /admin and /auth redirects in
- First run (no users) sends every page to /auth/signup, which creates
  the super admin (user #1) once and then locks
- Login is email/username + password; removed the emailed-code flow,
  /auth/sso and email password reset
- Google login kept for existing accounts only, never creates them
- seed-super-admin now requires SEED_SUPER_ADMIN_PASSWORD

Bots-first admin:
- /admin and closed sections (people, logs, backups) redirect to
  /admin/bots; only bots and settings are live (AdminSections)
- Removed the old admin layout; every /admin page uses the bots rail
- Coordinator bot created at signup/seed and by /admin/bots
  (ensureCoordinatorBot), which redirects to its chat
- bots.system_prompt (markdown) with a default coordinator prompt
- seed-bots reuses the existing coordinator

Settings:
- Sub pages general (default), profile, change-password, listed in the
  rail with a back link; unknown settings paths redirect to general
- Redesigned settings UI: pane header, grouped rows, sticky save bar
- General: System/Light/Dark theme, saved per device

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-18 17:49:25 +01:00

38 lines
846 B
Bash

PORT=7227
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
EMAIL_DOMAIN=
EMAIL_USER=
EMAIL_PASS=
# Receives contact form submissions
CONTACT_EMAIL_RECIPIENT=
# Outside production, ALL outgoing mail is redirected here (leave empty to skip sending)
DEV_EMAIL_RECIPIENT=
ENCRYPTION_KEY=
ENCRYPTION_SALT=
SOURCE_DIRECTORY=/home/user/projects/bunext-sqlite
DEPLOY_SERVER_IP=192.168.5.27
DATA_DIR=/data
# Set to 1 on the one container that should run cron tasks in production
MAIN_SERVER=
# Optional public envs exposed to the client through __root.server.ts
PAYSTACK_PUBLIC_KEY=
R2_PUBLIC_DOMAIN=
# Seed script overrides (bun run seed)
SEED_SUPER_ADMIN_EMAIL=
SEED_SUPER_ADMIN_USERNAME=
SEED_SUPER_ADMIN_FIRST_NAME=
SEED_SUPER_ADMIN_LAST_NAME=
SEED_SUPER_ADMIN_PASSWORD=
# Production: sitemap lastmod cache file on the /data volume
PAGE_LASTMOD_FILE=