30 lines
596 B
Plaintext
30 lines
596 B
Plaintext
|
|
# Application Settings
|
||
|
|
APP_NAME=Cosmo - Deep Space Explorer
|
||
|
|
API_PREFIX=/api
|
||
|
|
|
||
|
|
# CORS Settings (comma-separated list)
|
||
|
|
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
|
||
|
|
|
||
|
|
# Cache Settings
|
||
|
|
CACHE_TTL_DAYS=3
|
||
|
|
|
||
|
|
# Database Settings (PostgreSQL)
|
||
|
|
DATABASE_HOST=localhost
|
||
|
|
DATABASE_PORT=5432
|
||
|
|
DATABASE_NAME=cosmo_db
|
||
|
|
DATABASE_USER=postgres
|
||
|
|
DATABASE_PASSWORD=postgres
|
||
|
|
DATABASE_POOL_SIZE=20
|
||
|
|
DATABASE_MAX_OVERFLOW=10
|
||
|
|
|
||
|
|
# Redis Settings
|
||
|
|
REDIS_HOST=localhost
|
||
|
|
REDIS_PORT=6379
|
||
|
|
REDIS_DB=0
|
||
|
|
REDIS_PASSWORD=
|
||
|
|
REDIS_MAX_CONNECTIONS=50
|
||
|
|
|
||
|
|
# File Upload Settings
|
||
|
|
UPLOAD_DIR=upload
|
||
|
|
MAX_UPLOAD_SIZE=10485760 # 10MB in bytes
|