25 lines
786 B
Text
25 lines
786 B
Text
# Copy to .env and fill secrets. NEVER commit .env.
|
|
# MinIO/R2 = S3-compatible. Endpoint bucket-style:
|
|
# https://<account_id>.r2.cloudflarestorage.com
|
|
APP_ENV=dev
|
|
API_HOST=0.0.0.0
|
|
API_PORT=8000
|
|
|
|
# --- Postgres / Redis (docker-compose provides defaults) ---
|
|
POSTGRES_USER=danagble
|
|
POSTGRES_PASSWORD=change-this-password
|
|
POSTGRES_DB=danagble
|
|
DATABASE_URL=postgresql+asyncpg://danagble:change-this-password@postgres:5432/danagble
|
|
REDIS_URL=redis://redis:6379/0
|
|
|
|
# --- Auth ---
|
|
JWT_SECRET=change-me
|
|
JWT_EXPIRE_MINUTES=720
|
|
|
|
# --- Cloudflare R2 (secret part; non-secret shape lives in config.yaml) ---
|
|
R2_ENDPOINT=http://minio:9000
|
|
R2_ACCESS_KEY_ID=
|
|
R2_SECRET_ACCESS_KEY=
|
|
R2_BUCKET=danagble
|
|
# Optional public/CDN host for direct read links. Empty = presigned URLs only.
|
|
R2_PUBLIC_BASE_URL=
|