Skip to main content

Crate gonzalod

Crate gonzalod 

Source
Expand description

gonzalod — the gonzalo daemon binary. Serves a record + blob store over gRPC and HTTP/JSON. Configuration via environment variables:

  • GONZALO_STORE — substrate: fs (default) or s3
  • GONZALO_ROOT — fs store root directory (default ./gonzalo-data)
  • GONZALO_S3_BUCKET — s3 bucket (required when GONZALO_STORE=s3)
  • GONZALO_S3_ENDPOINT — s3 endpoint for MinIO/Garage (optional)
  • GONZALO_S3_REGION — s3 region override (optional)
  • GONZALO_HTTP_ADDR — HTTP/JSON bind address (default 127.0.0.1:8080)
  • GONZALO_GRPC_ADDR — gRPC bind address (default 127.0.0.1:50051)
  • GONZALO_MAX_BLOB_SIZE — max bytes per blob over the transports (default 64 MiB)
  • GONZALO_AUTH_FILE — TOML principals file for namespace-scoped auth
  • GONZALO_TOKEN — single admin token (used when no auth file is set)

Blob endpoints (/v1/blobs) are served for the fs and s3 substrates, which implement BlobStore. Git is not a content-addressed blob store, so a git-backed deployment does not serve blobs (gonzalo#184).

Credentials for s3 come from the standard AWS_* environment.

Functions§

main 🔒