- Add presign endpoint: POST /api/v1/transactions/presign - Add confirm endpoint: POST /api/v1/transactions/confirm - Add generate_presigned_put_url() to MinIO service with public endpoint support - Add public_endpoint field to MinioConfig - Keep legacy /upload endpoint as fallback Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
469 B
YAML
20 lines
469 B
YAML
# SnapLedger Backend Configuration
|
|
# Copy this file to config.yaml and fill in your credentials.
|
|
|
|
minio:
|
|
endpoint: "https://minio.example.com:9000"
|
|
public_endpoint: "https://minio-public.example.com"
|
|
bucket: "snapledger"
|
|
access_key: "YOUR_MINIO_ACCESS_KEY"
|
|
secret_key: "YOUR_MINIO_SECRET_KEY"
|
|
|
|
postgresql:
|
|
host: "localhost"
|
|
port: 5432
|
|
database: "snapledger"
|
|
user: "snapledger_user"
|
|
password: "YOUR_POSTGRES_PASSWORD"
|
|
|
|
api:
|
|
token: "YOUR_API_TOKEN"
|