-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (29 loc) · 828 Bytes
/
.env.example
File metadata and controls
36 lines (29 loc) · 828 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
30
31
32
33
34
35
36
# SovereignCore API Configuration
# Copy this file to .env and update with your values
# API Settings
API_HOST=0.0.0.0
API_PORT=8528
API_WORKERS=4
# Security - CHANGE THESE IN PRODUCTION!
SECRET_KEY=your-secret-key-here-change-this-in-production
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=7
# CORS - Update with your frontend URLs
CORS_ORIGINS=["http://localhost:3000","http://localhost:8528"]
CORS_ALLOW_CREDENTIALS=true
CORS_ALLOW_METHODS=["GET","POST","PUT","DELETE"]
CORS_ALLOW_HEADERS=["*"]
# Rate Limiting
RATE_LIMIT_DEFAULT=100/minute
RATE_LIMIT_AUTH=5/minute
# Redis
REDIS_URL=redis://localhost:6379/0
REDIS_PASSWORD=your-redis-password-here
# TLS/HTTPS
TLS_ENABLED=false
TLS_CERT_PATH=/path/to/cert.pem
TLS_KEY_PATH=/path/to/key.pem
# Environment
ENVIRONMENT=development
DEBUG=true