-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
61 lines (52 loc) · 2.66 KB
/
Copy path.env.example
File metadata and controls
61 lines (52 loc) · 2.66 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
# ─── Application ──────────────────────────────────────────
APP_DEBUG=false
APP_FRONTEND_URL=http://localhost:5173
APP_CORS_ORIGINS=["http://localhost:5173","http://localhost:3000"]
# ─── Docker Ports ──────────────────────────────────────────
BACKEND_PORT=8000
FRONTEND_PORT=3000
FRONTEND_CONTAINER_PORT=80
FRONTEND_DEV_PORT=5173
DB_PORT=5432
REDIS_PORT=6379
# ─── Database (PostgreSQL for app data) ───────────────────
DB_URL=postgresql+asyncpg://postgres:postgres@db:5432/collabsql
DB_POOL_SIZE=20
DB_MAX_OVERFLOW=10
# ─── Redis ────────────────────────────────────────────────
REDIS_URL=redis://redis:6379/0
REDIS_SCHEMA_CACHE_TTL=300
REDIS_DYNAMODB_SCHEMA_CACHE_TTL=86400
# ─── Query Workers (Taskiq + Redis Streams) ───────────────
WORKER_CONCURRENCY=10
WORKER_RESULT_PREVIEW_ROWS=1000
WORKER_SYNC_POLL_INTERVAL_MS=500
# ─── Auth ─────────────────────────────────────────────────
# IMPORTANT: Change these in production!
AUTH_SECRET_KEY=change-me-generate-with-openssl-rand-hex-32
AUTH_ACCESS_TOKEN_EXPIRE_MINUTES=30
AUTH_REFRESH_TOKEN_EXPIRE_DAYS=7
# ─── Encryption (for stored DB passwords) ─────────────────
# IMPORTANT: Change this in production! Use: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
ENCRYPTION_KEY=change-me-generate-fernet-key
# ─── GitHub SSO (OAuth App or GitHub App) ────────────────
AUTH_SSO_ENABLED=false
AUTH_SSO_ONLY_MODE=false
GITHUB_LOGIN_MECHANISM=githubapp
GITHUB_APP_ID=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_PRIVATE_KEY=
GITHUB_REDIRECT_URI=http://localhost/auth/github/callback
# ─── Frontend ─────────────────────────────────────────────
VITE_API_URL=
# ─── AI Assistant (Eylo SDK) ──────────────────────────────
VITE_EYLO_ORG_ID=
VITE_EYLO_AGENT_ID=
# Eylo server connection (SDK reads these directly)
VITE_SERVER_HTTP_PROTOCOL=http
VITE_SERVER_WS_PROTOCOL=ws
VITE_SERVER_BASE_HOST=localhost
VITE_SERVER_BASE_PORT=8000
VITE_SERVER_BASE_URL=http://localhost:8000
VITE_SERVER_WS_BASE_URL=ws://localhost:8000/api/ws