-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
21 lines (17 loc) · 740 Bytes
/
.env.example
File metadata and controls
21 lines (17 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# SECURITY WARNING!
# 1. Rename this to .env
# 2. Never commit real keys
# Django / FastAPI settings
SECRET_KEY=your_secret_key
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
# MinIO settings (object storage)
MINIO_ENDPOINT=127.0.0.1:9000 # MinIO host and port
MINIO_ACCESS_KEY=admin # MinIO username
MINIO_SECRET_KEY=admin123 # MinIO password
MINIO_BUCKET=file-storage # Bucket name for file uploads
# PostgreSQL database (via asyncpg driver for SQLAlchemy)
DATABASE_URL=postgresql+asyncpg://fastapi:fastapi@localhost/files_db
# Format: postgresql+asyncpg://<user>:<password>@<host>/<database>
# Redis (for background tasks with Celery)
REDIS_URL=redis://localhost:6379/0