36 lines
736 B
Plaintext
36 lines
736 B
Plaintext
# Application
|
|
APP_ENV=dev
|
|
APP_HOST=0.0.0.0
|
|
APP_PORT=8000
|
|
|
|
# Database
|
|
DATABASE_URL=sqlite+aiosqlite:///./app.db
|
|
# For PostgreSQL: postgresql+asyncpg://user:password@localhost:5432/itcloud
|
|
|
|
# S3 Storage
|
|
S3_ENDPOINT_URL=http://localhost:9000
|
|
S3_REGION=us-east-1
|
|
S3_ACCESS_KEY_ID=minioadmin
|
|
S3_SECRET_ACCESS_KEY=minioadmin
|
|
MEDIA_BUCKET=itcloud-media
|
|
|
|
# Security
|
|
JWT_SECRET=your-secret-key-change-this-in-production
|
|
JWT_ALGORITHM=HS256
|
|
JWT_ACCESS_TTL_SECONDS=900
|
|
JWT_REFRESH_TTL_SECONDS=1209600
|
|
|
|
# Upload limits
|
|
MAX_UPLOAD_SIZE_BYTES=21474836480
|
|
SIGNED_URL_TTL_SECONDS=600
|
|
|
|
# CORS
|
|
CORS_ORIGINS=http://localhost:5173,http://localhost:3000
|
|
|
|
# Redis
|
|
REDIS_URL=redis://localhost:6379/0
|
|
|
|
# Thumbnails
|
|
THUMBNAIL_MAX_SIZE=1024
|
|
THUMBNAIL_QUALITY=85
|