# Start with: fluentci-cache serve --config cache.example.toml # Required for writes: export FLUENTCI_CACHE_TOKEN='' # Precedence: defaults < this file < environment < command-line flags. backend = "s3" # s3 | file | memory bind = "127.0.0.1:8080" cdn_url = "https://cdn.example.com" # bucket root; prefix is appended automatically bucket = "build-cache" # must already exist region = "us-east-1" # endpoint = "https://s3.example.com" # omit for AWS S3 allow_http = false # true only for an HTTP S3 endpoint prefix = "fluentci-cache/v1" # separate deployments with different prefixes # directory = "./cache-data" # file backend only; relative to process cwd public_read = true read_only = false max_upload = 10737418240 # bytes: 10 GiB, including Go's 32-byte envelope staging_limit = 21474836480 # bytes: 20 GiB shared by resumable uploads # staging_directory = "/var/lib/fluentci-cache/uploads" # writable disk, not a small tmpfs concurrency = 128 # active object transfers; excess requests get 503 # Upload deadline, backend response deadline, and download idle timeout (seconds). timeout = 7200 # allow large Nix archives up to 2 hours nix_priority = 40 # Prefer the FLUENTCI_CACHE_TOKEN environment variable instead of storing a token here. # token = "replace-me" # Optional API-issued account upload tokens (Ed25519 public key; never the private key). # upload_token_public_key_file = "/etc/fluentci/cache-upload-public.pem" # upload_token_issuer = "did:web:api.fluentci.io" # Verified handle aliases; DID and legacy hash URLs do not need a lookup. # identity_resolver_url = "https://api.fluentci.io/xrpc/io.fluentci.cache.resolveAccount"