-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (32 loc) · 1.25 KB
/
Copy pathdocker-compose.yml
File metadata and controls
32 lines (32 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
tempo-node:
image: ghcr.io/tempoxyz/tempo:1.8.1
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-SHELL",
"bash -lc 'body=\"{\\\"jsonrpc\\\":\\\"2.0\\\",\\\"method\\\":\\\"eth_chainId\\\",\\\"params\\\":[],\\\"id\\\":1}\"; exec 3<>/dev/tcp/127.0.0.1/8545; printf \"POST / HTTP/1.1\\r\\nHost: localhost\\r\\nContent-Type: application/json\\r\\nContent-Length: $${#body}\\r\\nConnection: close\\r\\n\\r\\n%s\" \"$$body\" >&3; timeout 2 grep -q \"result\" <&3'",
]
interval: 2s
timeout: 5s
retries: 15