Files
Neon-Desk/.env.example
francy51 17de3dd72d Add history window controls and expand taxonomy pack support
- add 3Y/5Y/10Y financial history filtering and reorganize normalization details UI
- add new fiscal taxonomy surface/income bridge/KPI packs and update Rust taxonomy loading
- auto-detect Homebrew SQLite for native `sqlite-vec` in local dev/e2e with docs and env guidance
2026-03-18 23:40:28 -04:00

42 lines
1.6 KiB
Plaintext

# Optional API override. Leave empty to use same-origin internal API routes.
NEXT_PUBLIC_API_URL=
# Local docker host port (used by docker-compose.override.yml)
APP_PORT=3000
# Better Auth / SQLite
# For app running outside Docker, this resolves to ./data/fiscal.sqlite
# In Docker Compose deployment, default path is /app/data/fiscal.sqlite
DATABASE_URL=file:data/fiscal.sqlite
# Optional native sqlite-vec setup
# On macOS local dev/e2e, bun run dev and bun run e2e:webserver auto-detect Homebrew SQLite if present.
# SQLITE_CUSTOM_LIB_PATH=/opt/homebrew/opt/sqlite/lib/libsqlite3.dylib
# SQLITE_VEC_EXTENSION_PATH=/absolute/path/to/node_modules/sqlite-vec-darwin-arm64/vec0.dylib
BETTER_AUTH_SECRET=replace-with-a-long-random-secret
BETTER_AUTH_BASE_URL=http://localhost:3000
BETTER_AUTH_TRUSTED_ORIGINS=http://localhost:3000
# AI SDK (Vercel) + Zhipu provider
# Legacy OPENCLAW_* variables are removed and no longer read by the app.
# Coding endpoint is hardcoded in runtime: https://api.z.ai/api/coding/paas/v4
ZHIPU_API_KEY=
ZHIPU_MODEL=glm-5
AI_TEMPERATURE=0.2
# SEC API etiquette
SEC_USER_AGENT=Fiscal Clone <support@fiscal.local>
# Workflow runtime (local dev default)
WORKFLOW_TARGET_WORLD=local
# Workflow runtime (Docker / production)
WORKFLOW_POSTGRES_URL=postgres://workflow:workflow@workflow-postgres:5432/workflow
WORKFLOW_POSTGRES_WORKER_CONCURRENCY=10
WORKFLOW_POSTGRES_JOB_PREFIX=fiscal_
RUN_WORKFLOW_SETUP_ON_START=true
RUN_DB_MIGRATIONS_ON_START=true
# Optional local-world fallback for rollback/testing
WORKFLOW_LOCAL_DATA_DIR=.workflow-data
WORKFLOW_LOCAL_QUEUE_CONCURRENCY=100