Skip to main content
Configuration differs depending on whether you run Key0 as a standalone Docker container or embed the SDK directly in your application.
The standalone Docker image reads all configuration from environment variables. Pass them via docker run -e or a .env file.

Core

Agent Card

Plans

Challenge & Endpoint

Backend Auth

Per-Request Proxy (Standalone PPR)

Token Issuance

Storage

Settlement & Refunds

Notes

  • KEY0_WALLET_PRIVATE_KEY is only needed if you enable the refund cron. For normal operation, only the public wallet address is required.
  • GAS_WALLET_PRIVATE_KEY provides an alternative to the CDP facilitator for on-chain settlement. The wallet must hold enough ETH on Base to cover gas fees.
Redis is required even when you select Postgres as the storage backend. The BullMQ-based refund cron and distributed gas-wallet lock both depend on Redis.

Docker Deployment

Run Key0 as a standalone container with these environment variables.

SellerConfig

The code-level configuration object that maps to many of these variables.

Storage

Redis and Postgres setup for challenge stores, seen-tx, and audit logs.