services:
tempo-node:
image: ghcr.io/tempoxyz/tempo:latest
container_name: tempo-dev-node
command: >
node --dev
--dev.block-time 200ms
--http
--http.addr 0.0.0.0
--http.port 8545
--http.api all
--http.corsdomain '*'
--faucet.enabled
--faucet.private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
--faucet.address 0x20c0000000000000000000000000000000000000
--faucet.address 0x20c0000000000000000000000000000000000001
--faucet.address 0x20c0000000000000000000000000000000000002
--faucet.address 0x20c0000000000000000000000000000000000003
--faucet.amount 1000000000000
--engine.legacy-state-root
--engine.disable-precompile-cache
ports:
- "8545:8545"
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:8545", "-X", "POST", "-H", "Content-Type: application/json", "-d", "{\"jsonrpc\":\"2.0\",\"method\":\"eth_chainId\",\"params\":[],\"id\":1}"]
interval: 2s
timeout: 5s
retries: 15