-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.ibtida.yml
71 lines (58 loc) · 1.35 KB
/
docker-compose.ibtida.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
version: "3.9"
services:
validator-1: &node
image: anmolnetwork/anmol-node:ibtida
command:
- --name=validator-1
- --chain=/ibtida.json
- --node-key=0000000000000000000000000000000000000000000000000000000000000001
- --validator
- --rpc-cors=all
- --rpc-external
- --rpc-methods=Unsafe
- --unsafe-rpc-external
- --ws-external
- --unsafe-ws-external
- --no-prometheus
- --no-telemetry
ports:
- 9933
- 9944:9944
- 30333
networks:
- ibtida
volumes:
- db-validator-1:/data
- ./chains/raw/ibtida.json:/ibtida.json:ro
deploy:
mode: global
restart: unless-stopped
validator-2:
<<: *node
command:
- --name=validator-2
- --chain=/ibtida.json
- --validator
- --rpc-cors=all
- --rpc-external
- --rpc-methods=Unsafe
- --unsafe-rpc-external
- --ws-external
- --unsafe-ws-external
- --no-prometheus
- --no-telemetry
- --bootnodes=/dns4/validator-1/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp
ports:
- 9933
- 9945:9944
- 30333
volumes:
- db-validator-2:/data
- ./chains/raw/ibtida.json:/ibtida.json:ro
depends_on:
- validator-1
volumes:
db-validator-1:
db-validator-2:
networks:
ibtida: