2026-09-03 12:38:27 +02:00
|
|
|
# Portable deployment example. Keep this file secret-free; supply SESSION_SECRET via a secret manager.
|
|
|
|
|
APP_ENV=production
|
2026-09-02 17:38:50 +02:00
|
|
|
LOG_LEVEL=INFO
|
|
|
|
|
API_PORT=8000
|
|
|
|
|
WEB_PORT=8080
|
2026-09-03 12:38:27 +02:00
|
|
|
CORS_ORIGINS=https://your-approved-web-origin.example
|
|
|
|
|
DATA_DIR=/data
|
|
|
|
|
# Required in production; generate at least 32 random characters outside this file.
|
|
|
|
|
SESSION_SECRET=
|
2026-09-03 16:24:53 +02:00
|
|
|
# Mandatory for first-run administrator provisioning. Remove both after bootstrap.
|
2026-09-02 17:45:57 +02:00
|
|
|
BOOTSTRAP_ADMIN_EMAIL=
|
|
|
|
|
BOOTSTRAP_ADMIN_PASSWORD=
|
2026-09-03 12:38:27 +02:00
|
|
|
# Hard safety default; this release has no delivery capability.
|
2026-09-02 17:38:50 +02:00
|
|
|
AUTOMATED_OUTREACH_ENABLED=false
|
2026-09-03 21:15:42 +02:00
|
|
|
# Runtime provider configuration is managed in the authenticated admin API:
|
|
|
|
|
# POST /api/v1/admin/ai-provider-config. It is stored per organization with
|
|
|
|
|
# encrypted credentials in SQLite and a generated 0600 key at /data/provider-config.key.
|
|
|
|
|
# On startup, a database row takes precedence over every provider environment
|
|
|
|
|
# variable. Environment values are bootstrap fallback only when no DB row exists;
|
|
|
|
|
# they are never copied into API responses. Connectivity tests use bounded GET
|
|
|
|
|
# requests only and report outbound_calls=false (no outreach is implemented).
|
|
|
|
|
# The following variables are legacy/bootstrap fallback values only.
|
|
|
|
|
AI_RESEARCH_PROVIDER=
|
2026-09-03 21:01:36 +02:00
|
|
|
# NOUS_MODEL=Hermes-4-405B
|
|
|
|
|
# NOUS_BASE_URL=https://inference-api.nousresearch.com/v1
|
|
|
|
|
# NOUS_ALLOWED_HOSTS=inference-api.nousresearch.com
|
|
|
|
|
# NOUS_API_KEY=<Nous Portal API key; secret-manager only>
|
|
|
|
|
# FIRECRAWL_BASE_URL=https://api.firecrawl.dev/v1
|
|
|
|
|
# FIRECRAWL_ALLOWED_HOSTS=api.firecrawl.dev
|
|
|
|
|
# FIRECRAWL_API_KEY=<Firecrawl API key; secret-manager only>
|
2026-09-03 20:32:33 +02:00
|
|
|
AI_RESEARCH_PROVIDER=
|
2026-09-03 21:01:36 +02:00
|
|
|
NOUS_API_KEY=
|
|
|
|
|
NOUS_MODEL=Hermes-4-405B
|
|
|
|
|
NOUS_BASE_URL=https://inference-api.nousresearch.com/v1
|
|
|
|
|
NOUS_ALLOWED_HOSTS=inference-api.nousresearch.com
|
|
|
|
|
FIRECRAWL_API_KEY=
|
|
|
|
|
FIRECRAWL_BASE_URL=https://api.firecrawl.dev/v1
|
|
|
|
|
FIRECRAWL_ALLOWED_HOSTS=api.firecrawl.dev
|
|
|
|
|
# Legacy provider settings (only used by compatibility adapters).
|
2026-09-03 20:32:33 +02:00
|
|
|
AI_RESEARCH_PROVIDER_MODEL=
|
|
|
|
|
AI_RESEARCH_PROVIDER_URL=
|
|
|
|
|
AI_RESEARCH_PROVIDER_ALLOWED_HOSTS=
|
|
|
|
|
AI_RESEARCH_PROVIDER_API_KEY=
|
2026-09-03 20:42:59 +02:00
|
|
|
OPENAI_API_KEY=
|
2026-09-03 20:32:33 +02:00
|
|
|
# Deprecated migration-only generic URL search adapter; not used by the AI workflow.
|
2026-09-03 20:04:08 +02:00
|
|
|
SEARCH_PROVIDER_URL=
|
|
|
|
|
SEARCH_PROVIDER_ALLOWED_HOSTS=
|
|
|
|
|
SEARCH_PROVIDER_API_KEY=
|
2026-09-03 12:38:27 +02:00
|
|
|
# Backup operations (host-side, never mounted into the web container).
|
|
|
|
|
BACKUP_DIR=/var/backups/prospect-platform
|
|
|
|
|
BACKUP_RETENTION=30
|