# ============================================================ # 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