forked from Concordium/concordium-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bakers.yaml
53 lines (53 loc) · 1.64 KB
/
bakers.yaml
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
version: '3'
services:
bootstrapper:
image: concordium/dev-node:latest
entrypoint: /p2p_bootstrapper-cli
environment:
- RUST_BACKTRACE=1
- RUST_LOG=info
- CONCORDIUM_NODE_BOOTSTRAPPER_REGENESIS_BLOCK_HASHES_FILE=/genesis-data/genesis-${NUM_BAKERS}-bakers/genesis_hash
collector_backend:
image: concordium/dev-node:latest
entrypoint: /node-collector-backend
environment:
- RUST_BACKTRACE=1
- RUST_LOG=info
- COLLECTOR_BACKEND_ADDRESS=0.0.0.0
- COLLECTOR_BACKEND_PORT=10000
ports:
- "12000:10000"
baker_id_gen:
image: node:14-alpine
entrypoint: node /app.js
volumes:
- ./node-counter.js:/app.js:ro
baker:
image: concordium/dev-node:latest
depends_on:
- bootstrapper
- baker_id_gen
entrypoint: /node-entrypoint.sh
environment:
- RUST_BACKTRACE=1
- RUST_LOG=info
- GENESIS_DATA_PATH=/genesis-data/genesis-${NUM_BAKERS}-bakers # should be an absolute path
- BAKER_ID_URL=http://baker_id_gen:8000
- CONCORDIUM_NODE_CONNECTION_DESIRED_NODES=${DESIRED_PEERS}
- CONCORDIUM_NODE_CONNECTION_BOOTSTRAP_NODES=bootstrapper:8888
- CONCORDIUM_NODE_EXTERNAL_PORT=8888
- CONCORDIUM_NODE_RPC_SERVER_ADDR=0.0.0.0
ports:
- "10000" # bind to ephemeral ports because port range doesn't work on Windows
collector:
image: concordium/dev-node:latest
entrypoint: /collector-entrypoint.sh
depends_on:
- baker
- collector_backend
environment:
- RUST_BACKTRACE=1
- RUST_LOG=info
- NUM_BAKERS=${NUM_BAKERS}
- NODE_DNS_BASE=docker-compose_baker
- CONCORDIUM_NODE_COLLECTOR_URL=http://collector_backend:10000/nodes/post