Configuration
Environment variables and CLI flags for atl-server.
All settings can be set via CLI flags or environment variables (same names).
Core settings
ATL_ROLE:standalone|node|sequencerATL_SERVER_HOST: HTTP bind host (default127.0.0.1)ATL_SERVER_PORT: HTTP bind port (default3000)ATL_DATABASE_PATH: path to database directory/file (default./atl.db)ATL_SIGNING_KEY_PATH: path to 32-byte Ed25519 seed file (required forstandaloneandsequencer)ATL_BASE_URL: external base URL used to generateupgrade_urlin receipts (defaults tohttp://{host}:{port})ATL_LOG_LEVEL: tracing filter (defaultinfo)
Access control
If set, all /v1/* endpoints require Authorization: Bearer <token>.
ATL_ACCESS_TOKENS: comma-separated tokens (example:tokenA,tokenB)
Tree identity
Tree UUID controls the log instance identity (origin ID is derived from it).
ATL_TREE_UUID: optional UUID; if not set, the server persists a generated UUID under{ATL_DATABASE_PATH}/tree_uuid
gRPC (Node/Sequencer)
Sequencer gRPC server:
ATL_GRPC_PORT: gRPC listen port insequencermode (default50051)ATL_SEQUENCER_TOKEN: shared secret required by Node to call Sequencer (recommended)
Node gRPC client:
ATL_SEQUENCER_URL: Sequencer endpoint (defaulthttp://localhost:50051)ATL_SEQUENCER_TOKEN: shared secret (must match Sequencer)ATL_GRPC_KEEP_ALIVE_SECS(default30)ATL_GRPC_RETRY_COUNT(default3)ATL_GRPC_RETRY_BACKOFF_MS(default100)ATL_GRPC_CONCURRENCY_LIMIT(default1000)
Background jobs
ATL_BACKGROUND_DISABLED:true/1to disable all jobs
Tree closer (controls when trees are closed and become eligible for Super-Tree / OTS):
ATL_TREE_CLOSE_INTERVAL_SECS(default60)ATL_TREE_LIFETIME_SECS(default3600)
TSA (RFC 3161) job:
ATL_TSA_URLS: comma-separated list (defaulthttps://freetsa.org/tsr)ATL_TSA_TIMEOUT_MS(default5000)ATL_TSA_INTERVAL_SECS(default60)ATL_TSA_JOB_BATCH_SIZE(default100)ATL_TSA_ACTIVE_INTERVAL_SECS(default60)
OTS (Bitcoin OpenTimestamps) job:
ATL_OTS_POLL_INTERVAL_SECS(default600)ATL_OTS_UPGRADE_BATCH_SIZE(default100)
Sequencer tuning
ATL_BATCH_SIZE(default10000)ATL_BATCH_TIMEOUT_MS(default100)ATL_BUFFER_SIZE(default100000)ATL_BATCH_RETRY_COUNT(default3)ATL_BATCH_RETRY_BASE_MS(default10)ATL_SYNC_MODE:true/1to bypass batching (defaultfalse)
Last updated on