-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
52 lines (51 loc) · 1.08 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
version: "3.2"
services:
alice:
build: .
container_name: delta-chain-alice
image: deltampc/delta-chain:dev
command:
- --validator
- --unsafe-ws-external
- --unsafe-rpc-external
- --rpc-methods
- Unsafe
- --name
- Alice
- --node-key-file
- /root/.local/node-key
ports:
- "9944:9944"
- "9933:9933"
volumes:
- type: bind
source: ./.local/alice
target: /root/.local
bob:
container_name: delta-chain-bob
image: deltampc/delta-chain:dev
command:
- --validator
- --unsafe-ws-external
- --unsafe-rpc-external
- --rpc-methods
- Unsafe
- --name
- Bob
- --port
- "30334"
- --ws-port
- "9945"
- --rpc-port
- "9934"
- --node-key-file
- /root/.local/node-key
- --bootnodes
- /dns/alice/tcp/30333/p2p/12D3KooWKpxeRfkRPmCQUb9PCBVPgdo139n3g8SNAKE3Ap4V6bWy
ports:
- "9945:9945"
- "9934:9934"
volumes:
- type: bind
source: ./.local/bob
target: /root/.local