-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathdocker-compose_DAppNode.yml
109 lines (109 loc) · 3.69 KB
/
docker-compose_DAppNode.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
version: "3.4"
services:
ws:
build: web_services
depends_on:
- db
image: "ws.brightid-node.public.dappnode.eth:1.16.0"
environment:
BN_SEED: ""
BN_WS_PRIVATE_KEY: ""
BN_WS_ETH_PRIVATE_KEY: ""
BN_WS_WISCHNORR_PASSWORD: ""
BN_WS_OPERATIONS_TIME_WINDOW: "900"
BN_WS_OPERATIONS_LIMIT: "60"
BN_WS_APPS_OPERATIONS_LIMIT: "500"
BN_ARANGO_PROTOCOL: http
BN_ARANGO_HOST: db.brightid-node.public.dappnode
BN_ARANGO_PORT: "8529"
BN_CONSENSUS_PRIVATE_KEY: ""
BN_PEERS: ""
scorer:
build: scorer
depends_on:
- ws
- db
image: "scorer.brightid-node.public.dappnode.eth:1.16.0"
volumes:
- "snapshots:/snapshots"
environment:
BN_ARANGO_PROTOCOL: http
BN_ARANGO_HOST: db.brightid-node.public.dappnode
BN_ARANGO_PORT: "8529"
BN_CONSENSUS_SNAPSHOTS_PERIOD: "240"
consensus_receiver:
build: consensus
depends_on:
- ws
- db
image: "consensus_receiver.brightid-node.public.dappnode.eth:1.16.0"
volumes:
- "snapshots:/snapshots"
environment:
BN_ARANGO_PROTOCOL: http
BN_ARANGO_HOST: db.brightid-node.public.dappnode
BN_ARANGO_PORT: "8529"
BN_CONSENSUS_INFURA_URL: "ws://idchain.public.dappnode:8546"
BN_CONSENSUS_IDCHAIN_RPC_URL: "http://idchain.dappnode:8545"
BN_CONSENSUS_TO_ADDRESS: "0xb1d1CDd5C4C541f95A73b5748392A6990cBe32b7"
BN_CONSENSUS_SNAPSHOTS_PERIOD: "240"
BN_CONSENSUS_APPLY_URL: "/_db/_system/apply{v}/operations/{hash}"
BN_CONSENSUS_DUMP_URL: /_api/replication/dump
BN_CONSENSUS_PRIVATE_KEY: ""
BN_CONSENSUS_GAS: "200000"
BN_CONSENSUS_GAS_PRICE: "10000000000"
BN_CONSENSUS_MAX_DATA_SIZE: "100000"
RUN_TYPE: RECEIVER
consensus_sender:
build: consensus
depends_on:
- ws
- db
image: "consensus_sender.brightid-node.public.dappnode.eth:1.16.0"
environment:
BN_ARANGO_PROTOCOL: http
BN_ARANGO_HOST: db.brightid-node.public.dappnode
BN_ARANGO_PORT: "8529"
BN_CONSENSUS_INFURA_URL: "ws://idchain.public.dappnode:8546"
BN_CONSENSUS_IDCHAIN_RPC_URL: "http://idchain.dappnode:8545"
BN_CONSENSUS_TO_ADDRESS: "0xb1d1CDd5C4C541f95A73b5748392A6990cBe32b7"
BN_CONSENSUS_SNAPSHOTS_PERIOD: "240"
BN_CONSENSUS_APPLY_URL: "/_db/_system/apply{v}/operations/{hash}"
BN_CONSENSUS_DUMP_URL: /_api/replication/dump
BN_CONSENSUS_PRIVATE_KEY: ""
BN_CONSENSUS_GAS: "200000"
BN_CONSENSUS_GAS_PRICE: "10000000000"
BN_CONSENSUS_MAX_DATA_SIZE: "100000"
RUN_TYPE: SENDER
updater:
build: updater
depends_on:
- db
image: "updater.brightid-node.public.dappnode.eth:1.16.0"
environment:
BN_UPDATER_SEED_VOTING_ADDRESS: "0x56741DbC203648983c359A48aaf68f25f5550B6a"
BN_UPDATER_MAINNET_WSS: "ws://geth.dappnode:8546"
BN_UPDATER_IDCHAIN_WSS: "ws://idchain.public.dappnode:8546"
BN_UPDATER_SP_ADDRESS_MAINNET: "0x0aB346a16ceA1B1363b20430C414eAB7bC179324"
BN_UPDATER_SP_ADDRESS_IDCHAIN: "0x183C5D2d1E43A3aCC8a977023796996f8AFd2327"
BN_UPDATER_SEED_GROUPS_WS_URL: "ws://idchain.public.dappnode:8546"
BN_CONSENSUS_IDCHAIN_RPC_URL: "http://idchain.dappnode:8545"
BN_ARANGO_PROTOCOL: http
BN_ARANGO_HOST: db.brightid-node.public.dappnode
BN_ARANGO_PORT: "8529"
db:
build: db
image: "db.brightid-node.public.dappnode.eth:1.16.0"
environment:
BN_ARANGO_SERVER_ENDPOINT: "tcp://0.0.0.0:8529"
BN_ARANGO_EXTRA_OPTS: ""
volumes:
- "data:/var/lib/arangodb3"
- "apps:/var/lib/arangodb3-apps"
web:
build: web
image: "web.brightid-node.public.dappnode.eth:1.16.0"
volumes:
snapshots: {}
data: {}
apps: {}