-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (37 loc) · 1.17 KB
/
docker-compose.yml
File metadata and controls
38 lines (37 loc) · 1.17 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
33
34
35
36
37
38
services:
redis:
image: redis:7-alpine
ports:
- "6379:6379"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 2s
timeout: 5s
retries: 10
tempo:
image: ghcr.io/tempoxyz/tempo:latest
ports:
- "8545:8545"
command: >
node
--dev
--dev.block-time 200ms
--http
--http.addr 0.0.0.0
--http.port 8545
--http.api all
--http.corsdomain '*'
--engine.legacy-state-root
--engine.disable-precompile-cache
--faucet.enabled
--faucet.private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
--faucet.amount 1000000000
--faucet.address 0x20c0000000000000000000000000000000000000
--faucet.address 0x20c0000000000000000000000000000000000001
--faucet.address 0x20c0000000000000000000000000000000000002
--faucet.address 0x20c0000000000000000000000000000000000003
healthcheck:
test: ["CMD-SHELL", "curl -sf -X POST -H 'Content-Type: application/json' -d '{\"jsonrpc\":\"2.0\",\"method\":\"eth_chainId\",\"params\":[],\"id\":1}' http://localhost:8545 || exit 1"]
interval: 2s
timeout: 5s
retries: 15