-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.env.example
More file actions
36 lines (31 loc) · 1.28 KB
/
.env.example
File metadata and controls
36 lines (31 loc) · 1.28 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
# Database
# Prisma provider: sqlite (default) or postgresql/mysql
PRISMA_PROVIDER=sqlite
# Connection string for the chosen provider; SQLite uses a local file
DATABASE_URL="file:./data/atlantis.db"
# If true, apply migrations automatically on startup (leave empty to disable)
PRISMA_AUTO_APPLY=
# If true, skip Prisma db push/autopush helpers (leave empty for defaults)
PRISMA_SKIP_AUTOPUSH=
# Redis (Optional - for caching)
# When set, uses Redis for caching API responses to reduce database load
# Falls back to in-memory cache if not set
# REDIS_URL=redis://localhost:6379
# Live sync transport
# Use socket (SSE) for static instances, polling for serverless deployments
# Accepted values: socket | polling
NEXT_PUBLIC_LIVE_SYNC_METHOD=socket
# Polling interval in milliseconds (used only when method=polling)
# Accepted values: 3000 | 5000 | 10000 | 30000
NEXT_PUBLIC_LIVE_SYNC_POLL_INTERVAL_MS=5000
# API Access
# Set to true to enable the /api/access endpoints and API docs integration
ENABLE_API_ACCESS=false
# AI Configuration
# Set your AI API key here for secure configuration (recommended over UI)
# Supports OpenAI-compatible keys (sk-...) or Google AI Studio keys (AIza...)
# When set, the key cannot be modified through the UI
AI_API_KEY=
# Server
# Port for Next.js dev/start
PORT=3000