# One command reproduces the whole pipeline on a throwaway ledger. # No funds, no mainnet key: localnet has an empty block space and a single client, # so this proves the pipeline, not the measurement (measurement is mainnet-only). services: validator: image: solanalabs/solana:stable command: > solana-test-validator --ledger /ledger --reset --quiet --rpc-port 8899 healthcheck: test: ["CMD", "solana", "cluster-version", "--url", "http://127.0.0.1:8899"] interval: 5s timeout: 5s retries: 24 probe: build: . depends_on: validator: condition: service_healthy environment: RPC_URL: http://validator:8899 HORIZON: "120" command: ["run", "--dry-run", "--network", "localnet"] volumes: - ./data:/app/data # Live runs: docker compose run --rm -e KEYPAIR_PATH=/run/secrets/payer.json \ # -v $PWD/secrets:/run/secrets probe run --live --network mainnet --cap-sol 0.05