Files
backend/config.example.yaml
Misaka_Company 2d7c8a6f3f Rename MinIO config to S3, switch to Cloudflare R2
- Rename MinioConfig → S3Config, settings.minio → settings.s3
- Update config.example.yaml with R2 endpoint template
- S3 service is now storage-backend agnostic (MinIO, R2, any S3-compatible)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-28 13:43:10 +08:00

20 lines
443 B
YAML

# SnapLedger Backend Configuration
# Copy this file to config.yaml and fill in your credentials.
s3:
endpoint: "https://<account-id>.r2.cloudflarestorage.com"
public_endpoint: ""
bucket: "snapledger"
access_key: "YOUR_S3_ACCESS_KEY"
secret_key: "YOUR_S3_SECRET_KEY"
postgresql:
host: "localhost"
port: 5432
database: "snapledger"
user: "snapledger_user"
password: "YOUR_POSTGRES_PASSWORD"
api:
token: "YOUR_API_TOKEN"