forked from worldcoin/world-tree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
30 lines (29 loc) · 852 Bytes
/
compose.yml
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
services:
blockchain:
hostname: blockchain
image: ghcr.io/foundry-rs/foundry:latest
ports:
- "8545:8545"
command:
[
"anvil --host 0.0.0.0 --block-time 2 --fork-url https://eth.llamarpc.com@17638489"
]
world-tree:
build:
context: .
dockerfile: Dockerfile
depends_on:
- blockchain
ports:
- "8080:8080"
restart: always
environment:
- RUST_LOG=info
- RUST_BACKTRACE=full
- WLD__CANONICAL_TREE__ADDRESS=0xf7134CE138832c1456F2a91D64621eE90c2bddEa
- WLD__CANONICAL_TREE__CREATION_BLOCK=17636832
- WLD__TREE_DEPTH=30
- WLD__CANONICAL_TREE__PROVIDER__RPC_ENDPOINT=http://blockchain:8545
- WLD__CANONICAL_TREE__PROVIDER__THROTTLE=150
- WLD__WORLD_TREE__SOCKET_ADDRESS=0.0.0.0:8080
- WLD__CACHE__CACHE_FILE=tree-cache