23 lines
419 B
Plaintext
23 lines
419 B
Plaintext
# Application
|
|
APP_NAME="Minimal FastAPI Template"
|
|
ENVIRONMENT=development
|
|
DEBUG=false
|
|
|
|
# Server
|
|
HOST=0.0.0.0
|
|
PORT=8000
|
|
RELOAD=true
|
|
|
|
# Database
|
|
DATABASE_URL=postgresql://user:password@localhost:5432/dbname
|
|
DB_POOL_SIZE=20
|
|
DB_MAX_OVERFLOW=10
|
|
|
|
# JWT
|
|
SECRET_KEY=your-secret-key-min-32-characters-long
|
|
JWT_ALGORITHM=HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
|
|
|
# CORS
|
|
CORS_ORIGINS=["http://localhost:3420","http://localhost:8420"]
|