Repository Public
1# Sheet — configuration. Copy to .env (never committed, mode 600) and fill in. No real secret belongs in this file.23# ── Site ─────────────────────────────────────────────────────────────────────4# Public origin, exactly as typed in the browser. WebAuthn checks it byte for byte.5APP_URL=https://sheet.spboucher.ai6# WebAuthn RP ID. Defaults to the host of APP_URL. Changing it later invalidates every enrolled passkey.7#WEBAUTHN_RP_ID=sheet.spboucher.ai8# Signs preview and render tokens. 32+ random characters: openssl rand -base64 489APP_SECRET=10PORT=87001112# ── Administrator (created once by scripts/bootstrap.ts; there is no password) ─13ADMIN_EMAIL=14ADMIN_NAME=Simon-Pierre Boucher15# Where the one-time enrolment link is written (mode 0600) while no passkey exists.16SETUP_URL_FILE=/Users/CHANGE_ME/data/sheet/setup-url.txt1718# ── Database ─────────────────────────────────────────────────────────────────19DATABASE_URL=postgres://sheet_app:CHANGE_ME@127.0.0.1:5432/sheet2021# ── Claude (Anthropic API) — server side only ────────────────────────────────22# Without a key the studio works as a manual editor and says that AI generation is not configured.23ANTHROPIC_API_KEY=24# Default model until one is chosen in /admin/settings (checked against the models the key can call).25#ANTHROPIC_MODEL=claude-opus-5-52627# ── Storage of uploads and exports (never under the application directory) ───28STORAGE_DRIVER=local29STORAGE_ROOT=/Users/CHANGE_ME/data/sheet/storage30UPLOAD_MAX_MB=2031STORAGE_QUOTA_GB=532# clamd socket path or host:port. Unset = uploads are stored "unscanned" and the studio says so.33#CLAMD_SOCKET=/tmp/clamd.sock3435# ── Exports (worker) ─────────────────────────────────────────────────────────36# The worker's headless browser opens this address (the web process, loopback).37INTERNAL_URL=http://127.0.0.1:870038# Chromium binary; unset = the one installed by `node_modules/.bin/playwright-core install chromium-headless-shell`.39#CHROMIUM_PATH=4041# ── Backups (scripts/backup.sh) ──────────────────────────────────────────────42BACKUP_DIR=/Users/CHANGE_ME/backups/sheet43BACKUP_PASSPHRASE_FILE=/Users/CHANGE_ME/.config/sheet/backup-passphrase44BACKUP_KEEP_DAYS=304546# ── Observability ────────────────────────────────────────────────────────────47LOG_LEVEL=info48