26 lines
555 B
Bash
26 lines
555 B
Bash
# Database
|
|
POSTGRES_SERVER=localhost
|
|
POSTGRES_USER=postgres
|
|
POSTGRES_PASSWORD=postgres
|
|
POSTGRES_DB=planet_db
|
|
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/planet_db
|
|
|
|
# Redis
|
|
REDIS_SERVER=localhost
|
|
REDIS_PORT=6379
|
|
REDIS_URL=redis://localhost:6379/0
|
|
|
|
# Security
|
|
SECRET_KEY=your-secret-key-change-in-production
|
|
ALGORITHM=HS256
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=15
|
|
REFRESH_TOKEN_EXPIRE_DAYS=7
|
|
|
|
# API
|
|
API_V1_STR=/api/v1
|
|
PROJECT_NAME="Intelligent Planet Plan"
|
|
VERSION=1.0.0
|
|
|
|
# CORS
|
|
CORS_ORIGINS=["http://localhost:3000", "http://localhost:8000"]
|