-
Notifications
You must be signed in to change notification settings - Fork 43
/
docker-compose.yml
79 lines (76 loc) · 2.28 KB
/
docker-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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
services:
geth:
image: ethereum/client-go:release-1.14
ports: [ '8545:8545' ]
command: --verbosity 1
--http.vhosts '*,localhost,host.docker.internal'
--http
--http.api eth,net,web3,debug
--http.corsdomain '*'
--http.addr "0.0.0.0"
--networkid 1337
--dev
--dev.period 0
--allow-insecure-unlock
--rpc.allow-unprotected-txs
--rpc.txfeecap 0
--dev.gaslimit 20000000
rundler-pool:
image: alchemy-platform/rundler:latest
depends_on:
- geth
command: pool
environment:
- RUST_LOG=debug
- NETWORK=dev
- NODE_HTTP=http://geth:8545
- MIN_UNSTAKE_DELAY=2
- PRIORITY_FEE_MODE_KIND=base_fee_percent
- PRIORITY_FEE_MODE_VALUE=0
- POOL_HOST=0.0.0.0
- DISABLE_ENTRY_POINT_V0_6=${DISABLE_ENTRY_POINT_V0_6}
- DISABLE_ENTRY_POINT_V0_7=${DISABLE_ENTRY_POINT_V0_7}
rundler-builder:
image: alchemy-platform/rundler:latest
depends_on:
- rundler-pool
command: builder
environment:
- RUST_LOG=debug
- NETWORK=dev
- NODE_HTTP=http://geth:8545
- RPC_API=eth,debug
- MIN_UNSTAKE_DELAY=2
- PRIORITY_FEE_MODE_KIND=base_fee_percent
- PRIORITY_FEE_MODE_VALUE=0
- BUILDER_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
- BUILDER_POOL_URL=https://rundler-pool:50051
- BUILDER_HOST=0.0.0.0
- BUILDER_PORT=50051
- DISABLE_ENTRY_POINT_V0_6=${DISABLE_ENTRY_POINT_V0_6}
- DISABLE_ENTRY_POINT_V0_7=${DISABLE_ENTRY_POINT_V0_7}
rundler-rpc:
image: alchemy-platform/rundler:latest
depends_on:
- rundler-builder
ports:
- "8080:8080"
- "3000:3000"
command: rpc
environment:
- RUST_LOG=debug
- NETWORK=dev
- NODE_HTTP=http://geth:8545
- PRIORITY_FEE_MODE_KIND=base_fee_percent
- PRIORITY_FEE_MODE_VALUE=0
- RPC_API=eth,debug
- RPC_POOL_URL=https://rundler-pool:50051
- RPC_BUILDER_URL=https://rundler-builder:50051
- DISABLE_ENTRY_POINT_V0_6=${DISABLE_ENTRY_POINT_V0_6}
- DISABLE_ENTRY_POINT_V0_7=${DISABLE_ENTRY_POINT_V0_7}
healthcheck:
test: curl --fail http://localhost:3000/health || exit 1
interval: 1s
timeout: 1s
retries: 60
start_period: 10s