23 lines
643 B
Bash
23 lines
643 B
Bash
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/ciyuan_viewfinder
|
|
DATABASE_URL_SYNC=postgresql://postgres:postgres@localhost:5432/ciyuan_viewfinder
|
|
REDIS_URL=redis://localhost:6379/0
|
|
SECRET_KEY=change-me-to-a-random-secret-key
|
|
ACCESS_TOKEN_EXPIRE_MINUTES=30
|
|
REFRESH_TOKEN_EXPIRE_DAYS=7
|
|
|
|
# Storage: "local" or "s3" (s3 compatible with MinIO/OSS/COS)
|
|
STORAGE_BACKEND=local
|
|
LOCAL_STORAGE_PATH=./uploads
|
|
|
|
S3_ENDPOINT=http://localhost:9000
|
|
S3_ACCESS_KEY=minioadmin
|
|
S3_SECRET_KEY=minioadmin
|
|
S3_BUCKET=ciyuan-viewfinder
|
|
S3_REGION=
|
|
S3_PUBLIC_URL=
|
|
|
|
# Tencent Maps API Key (apply at https://lbs.qq.com/)
|
|
TENCENT_MAP_KEY=
|
|
|
|
SENTRY_DSN=
|