-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
50 lines (42 loc) · 3.03 KB
/
Copy path.env.example
File metadata and controls
50 lines (42 loc) · 3.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# ── Application ───────────────────────────────────────────────────────────────
APP_NAME=Fluent AI API
APP_VERSION=0.1.0
PORT=8200
# ── Database ─────────────────────────────────────────────────────────────────
# Role passwords below are dev-only defaults — override in any shared/deployed env.
# Runtime role (ai schema only):
DATABASE_URL=postgresql+asyncpg://ai_user:password@localhost:5432/fluent
# Migration role (DDL on ai):
MIGRATIONS_DATABASE_URL=postgresql+asyncpg://ai_migrator:password@localhost:5432/fluent
# Superuser used only by the bootstrap script:
BOOTSTRAP_DATABASE_URL=postgresql://postgres:postgres@localhost:5432/fluent
# Optional: SHA-256 hash of a production admin API key seeded on startup.
# Never commit the raw key — only the hash. Leave unset in development.
# ADMIN_API_KEY_HASH=
# ── Security ─────────────────────────────────────────────────────────────────
SECRET_KEY=dev-secret-key-not-for-production
# ── Development API key ───────────────────────────────────────────────────────
# Seeded automatically on first DB start. Use in X-API-Key header locally.
# Never use this key outside of local development.
DEV_API_KEY=fai_dev_admin
# ── Environment ───────────────────────────────────────────────────────────────
# development | production
ENVIRONMENT=development
# ── Logging ──────────────────────────────────────────────────────────────────
LOG_LEVEL=INFO
# true for stack traces in dev (never in production)
SHOW_STACK_TRACES=false
# stdout | file | both
LOG_OUTPUT=stdout
# ── External AI Services ─────────────────────────────────────────────────────
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
GOOGLE_AI_API_KEY=
GOOGLE_AI_MODEL=gemini-2.5-flash-lite
# ── Internal API Integration ─────────────────────────────────────────────────
# Base URL of the fluent-api service (no trailing slash)
# - Ecosystem mode (via fluent-platform): http://fluent-api:9999
# - Standalone fluent-ai against standalone fluent-api: http://localhost:9999
API_BASE_URL=http://fluent-api:9999
# Key used to authenticate outgoing requests to fluent-api
API_SERVICE_KEY=dev-inbound-key-replace-me