-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yml
59 lines (57 loc) · 1.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
services:
node-0:
ports:
- 9944:9944
- 30333:30333
volumes:
- dbc-data-0:/data
build:
context: .
dockerfile: Dockerfile
command:
- --name=dbc-node-0
- --alice
- --base-path=/data
- --chain=local
- --rpc-port=9944
- --rpc-external
- --rpc-cors=all
- --rpc-methods=unsafe
- --validator
- --pruning=archive
- --node-key=b56e0838dee596709f885765a4afbdacf7a2c2f2c3b60befeb1e2e9101d7fb76
- --listen-addr=/ip4/0.0.0.0/tcp/30333
environment:
RUST_LOG: evm=debug
ulimits: &a1
nofile:
soft: 65536
hard: 65536
node-1:
ports:
- 9945:9944
- 30334:30333
volumes:
- dbc-data-1:/data
build:
context: .
dockerfile: Dockerfile
command:
- --name=dbc-node-1
- --bob
- --base-path=/data
- --chain=local
- --rpc-port=9944
- --rpc-external
- --rpc-cors=all
- --rpc-methods=unsafe
- --validator
- --pruning=archive
- --bootnodes=/dns/node-0/tcp/30333/p2p/12D3KooWLQf1r1PQKNGSqRvuwkBqSaPAsUkA3W5VzYKpkgahMywT
- --listen-addr=/ip4/0.0.0.0/tcp/30333
environment:
RUST_LOG: evm=debug
ulimits: *a1
volumes:
dbc-data-0: null
dbc-data-1: null