-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.env.example
More file actions
29 lines (23 loc) · 986 Bytes
/
.env.example
File metadata and controls
29 lines (23 loc) · 986 Bytes
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
# ============================================================
# AgentGraph — Environment Configuration
# Copy this file to .env and fill in the values
# ============================================================
# --- Application ---
APP_NAME=AgentGraph
DEBUG=false # Set true for development
# --- Database (REQUIRED) ---
DATABASE_URL=postgresql+asyncpg://postgres:YOUR_PASSWORD@localhost:5432/agentgraph
POSTGRES_PASSWORD=YOUR_PASSWORD # Used by docker-compose
# --- Redis (REQUIRED) ---
REDIS_URL=redis://localhost:6379/0
# --- Authentication (REQUIRED for production) ---
JWT_SECRET=CHANGE-ME-TO-A-RANDOM-64-CHAR-STRING
JWT_ALGORITHM=HS256
JWT_ACCESS_TOKEN_EXPIRE_MINUTES=15 # Short-lived access tokens
JWT_REFRESH_TOKEN_EXPIRE_DAYS=7
# --- CORS ---
CORS_ORIGINS=["http://localhost:3000","http://localhost:80"]
# --- Rate Limiting (OPTIONAL) ---
RATE_LIMIT_READS_PER_MINUTE=100
RATE_LIMIT_WRITES_PER_MINUTE=20
RATE_LIMIT_AUTH_PER_MINUTE=5