-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
81 lines (77 loc) · 2.17 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
80
81
version: "3.8"
services:
geth:
image: ethereum/client-go:v1.13.5
ports:
- "8545:8545"
- "8546:8546"
command:
- --miner.gaslimit=12000000
- --http
- --http.api=personal,eth,net,web3,debug
- --http.vhosts=*
- --http.addr=0.0.0.0
- --http.corsdomain=*
- --ws
- --ws.api=personal,eth,net,web3,debug
- --ws.addr=0.0.0.0
- --allow-insecure-unlock
- --rpc.allow-unprotected-txs
- --dev
- --verbosity=3
- --nodiscover
- --maxpeers=0
- --mine
- --networkid=1337
# - --dev.period=2 # for rundler
healthcheck:
test: ["CMD-SHELL", " netstat -an | grep -q 8545"]
interval: 1s
timeout: 1s
# rundler:
# image: truewallet/rundler:0.1
# command: node
# depends_on:
# - geth
# ports:
# - "8080:8080"
# - "3001:3001"
# environment:
# - ENTRY_POINTS=0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789
# - NODE_HTTP=http://geth:8545
# # 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
# - BUILDER_PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
# - CHAIN_ID=1337
# - RPC_PORT=3001
# - RUST_LOG=debug
# - RPC_API=eth,debug
# - PRIORITY_FEE_MODE_KIND=base_fee_percent
# healthcheck:
# test: curl --fail http://localhost:3001/health || exit 1
# interval: 1s
# timeout: 1s
# retries: 60
# start_period: 10s
stackup-bundler:
image: stackupwallet/stackup-bundler:v0.6.44
command: /app/stackup-bundler start --mode private
depends_on:
geth:
condition: service_healthy
ports:
- "3000:3000"
environment:
- ERC4337_BUNDLER_ETH_CLIENT_URL=http://geth:8545
- ERC4337_BUNDLER_PRIVATE_KEY=ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80
- ERC4337_BUNDLER_PORT=3000
- ERC4337_BUNDLER_SUPPORTED_ENTRY_POINTS=0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789
# https://github.com/alchemyplatform/rundler/issues/579
# nginx for rundler
# nginx:
# image: nginx:1.25.3-alpine
# depends_on:
# - rundler
# ports:
# - "3000:3000"
# volumes:
# - ./etc/nginx:/etc/nginx/templates