-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
104 lines (94 loc) · 4.27 KB
/
Copy path.env.example
File metadata and controls
104 lines (94 loc) · 4.27 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# PostgreSQL
DBOB_DATABASE_PREFIX=dbob1234567890
DATABASE_URL=postgresql://admin:bconomics@localhost:5432/dbob1234567890
DATABASE_URL_SHARED=postgresql://admin:bconomics@localhost:5432/dbob1234567890
DATABASE_URL_TEST=postgresql://admin:bconomics@localhost:5432/dbob1234567890_test
# Required before selecting Live Mode.
DATABASE_URL_LIVE=postgresql://admin:bconomics@localhost:5432/dbob1234567890_live
DATABASE_SSL=false
# When DATABASE_SSL=true, certificate verification is enabled by default.
# Set DATABASE_SSL_CA to a PEM certificate for a private CA.
DATABASE_SSL_REJECT_UNAUTHORIZED=true
DATABASE_SSL_CA=
MONGODB_URL=mongodb://localhost:27017
MONGODB_DATABASE=dbob1234567890
MONGODB_DATABASE_SHARED=dbob1234567890
MONGODB_DATABASE_TEST=dbob1234567890_test
MONGODB_DATABASE_LIVE=dbob1234567890_live
# API server
API_PORT=8787
API_HOST=0.0.0.0
# Server-authoritative runtime mode. Change this value and restart the services.
OPENBCON_ENVIRONMENT_MODE=test
CORS_ORIGIN=http://localhost:5173
STATE_BODY_LIMIT=12mb
APP_STATE_ENCRYPTION_KEY=replace_with_a_long_random_secret
AUTO_MIGRATE=true
SEED_DEMO_DATA=true
AUTH_SESSION_TTL_DAYS=30
PUBLIC_APP_URL=http://localhost:5173
PUBLIC_SITE_URL=http://localhost:5173
DASHBOARD_APP_URL=http://localhost:5173
# Email verification. Development defaults to console mode and prints a preview link.
EMAIL_PROVIDER=console
EMAIL_FROM=OpenBcon <no-reply@localhost>
# EMAIL_PROVIDER=smtp
# SMTP_HOST=smtp.example.com
# SMTP_PORT=587
# SMTP_SECURE=false
# SMTP_USER=no-reply@example.com
# SMTP_PASSWORD=replace_with_smtp_password
# Google OAuth. Add http://localhost:5173/api/auth/google/callback to the OAuth client.
# GOOGLE_OAUTH_CLIENT_ID=
# GOOGLE_OAUTH_CLIENT_SECRET=
# GOOGLE_OAUTH_REDIRECT_URI=http://localhost:5173/api/auth/google/callback
# Development identity until authentication is connected
DEMO_USER_ID=1
# Optional local-only password used to seed the demo user's password hash.
# DEMO_USER_PASSWORD=replace_with_a_local_password
DEMO_WORKSPACE_ID=00000000-0000-4000-8000-000000000002
# Stripe
STRIPE_TEST_SECRET_KEY=sk_test_your_key_here
STRIPE_LIVE_SECRET_KEY=sk_live_your_key_here
STRIPE_DEV_PUBLISHABLE_KEY=pk_test_your_key_here
STRIPE_LIVE_PUBLISHABLE_KEY=pk_live_your_key_here
STRIPE_WEBHOOK_SECRET=whsec_your_webhook_secret_here
# Optional alternative gateway examples
WAFFO_PANCAKE_TEST_SECRET_KEY=waffo_test_your_key_here
WAFFO_PANCAKE_LIVE_SECRET_KEY=waffo_live_your_key_here
WAFFO_PANCAKE_DEV_PUBLISHABLE_KEY=waffo_pk_test_your_key_here
WAFFO_PANCAKE_LIVE_PUBLISHABLE_KEY=waffo_pk_live_your_key_here
# Frontend
VITE_API_URL=/api
VITE_API_PROXY_TARGET=http://localhost:8787
# Community builds keep the commercial licensing section visible. Set this to
# true only for a paid commercial deployment, then rebuild the frontend image.
VITE_COMMERCIAL_LICENSED=false
# Production deploys stamp this automatically from the current Git commit.
VITE_APP_COMMIT=unknown
VITE_BUSINESS_PLAN_API_URL=/ai-api
# Vite development proxy target. In production, reverse proxy /ai-api to the
# Python backend and keep the Python service private.
VITE_BUSINESS_PLAN_API_PROXY_TARGET=http://localhost:8010
VITE_PERSISTENCE_ENABLED=true
# Production overrides:
# NODE_ENV=production
# CORS_ORIGIN=https://open.bconomics.ai
# SEED_DEMO_DATA=false
# AUTO_MIGRATE=true # or run `npm run db:migrate` during release
# Python AI service (the frontend reaches it through /ai-api)
# OPENBCON_DB_DSN=postgresql://admin:bconomics@localhost:5432/dbob1234567890
# OPENBCON_ENVIRONMENT_MODE=test
# OPENBCON_DB_DSN_SHARED=postgresql://admin:bconomics@localhost:5432/dbob1234567890
# OPENBCON_DB_DSN_TEST=postgresql://admin:bconomics@localhost:5432/dbob1234567890_test
# OPENBCON_DB_DSN_LIVE=postgresql://admin:bconomics@localhost:5432/dbob1234567890_live
# OPENBCON_MONGODB_DATABASE_SHARED=dbob1234567890
# OPENBCON_MONGODB_DATABASE_TEST=dbob1234567890_test
# OPENBCON_MONGODB_DATABASE_LIVE=dbob1234567890_live
# OPENBCON_CORS_ORIGINS=https://open.bconomics.ai
# OPENBCON_OPENAI_API_KEY=replace_with_a_server_side_key
# Local Ollama defaults. The root Compose file publishes Ollama only on localhost.
# OPENBCON_OLLAMA_BASE_URL=http://127.0.0.1:11434
# OPENBCON_OLLAMA_MODEL=smollm2:135m
# OPENBCON_USE_MOCK_LLM=false
# OPENBCON_ALLOWED_AI_ENDPOINT_HOSTS=api.openai.com,api.anthropic.com,generativelanguage.googleapis.com,openrouter.ai