-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.yml
66 lines (55 loc) · 1.21 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
version: "3.9"
services:
node-alice: &node
image: anmolnetwork/anmol-node:latest
build:
context: .
args:
# Credentials used by sccache
- SCCACHE_BUCKET
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
command:
- --chain=local
- --rpc-cors=all
- --rpc-external
- --rpc-methods=Unsafe
- --unsafe-rpc-external
- --ws-external
- --unsafe-ws-external
- --no-prometheus
- --alice
- --node-key=0000000000000000000000000000000000000000000000000000000000000001
ports:
- 9933
- 9944:9944
- 30333
volumes:
- db-alice:/data
deploy:
mode: global
restart: unless-stopped
node-bob:
<<: *node
command:
- --chain=local
- --rpc-cors=all
- --rpc-external
- --rpc-methods=Unsafe
- --unsafe-rpc-external
- --ws-external
- --unsafe-ws-external
- --no-prometheus
- --bob
- --bootnodes=/dns4/node-alice/tcp/30333/p2p/12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp
ports:
- 9933
- 9945:9944
- 30333
volumes:
- db-bob:/data
depends_on:
- node-alice
volumes:
db-alice:
db-bob: