- 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>
20 lines
443 B
YAML
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"
|