-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
70 lines (66 loc) · 2.14 KB
/
docker-compose.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version: '3.5'
services:
ssv-node-1:
build:
context: .
dockerfile: Dockerfile
command:
- "start-node"
- "--node-id=1"
- "--leader-id=1"
- "--private-key=${SSV_NODE_1}"
- "--validator-key=${VALIDATOR_PUBLIC_KEY}"
- "--beacon-node-addr=${BEACON_NODE_ADDR}"
- "--network=${NETWORK}"
- "--val=${CONSENSUS_TYPE}"
environment:
DOCKER_COMPOSE: "true"
PUBKEY_NODE_2: "98090f5ace3818b27b6ea2d38524556ec8c39d568a1595adb00964415eae62998c12ef015eda17f8d590f22b1778ec02"
PUBKEY_NODE_3: "9492358822d8ac4e678a2aa500b7634495ef9efece3a787cd48efe97180f95dda537eaf34d412eb2c42ab2dcf9e1d165"
networks:
- bloxapp-docker
restart: always
ssv-node-2:
build:
context: .
dockerfile: Dockerfile
command:
- "start-node"
- "--node-id=2"
- "--leader-id=1"
- "--private-key=${SSV_NODE_2}"
- "--validator-key=${VALIDATOR_PUBLIC_KEY}"
- "--beacon-node-addr=${BEACON_NODE_ADDR}"
- "--network=${NETWORK}"
- "--val=${CONSENSUS_TYPE}"
environment:
DOCKER_COMPOSE: "true"
PUBKEY_NODE_1: "89791f38daa4ba0288035e6e12f11dd7c6e68651f2ae81f40a5bc5002e32281cab7b16e0ce12084619a2ce3d23d9f357"
PUBKEY_NODE_3: "9492358822d8ac4e678a2aa500b7634495ef9efece3a787cd48efe97180f95dda537eaf34d412eb2c42ab2dcf9e1d165"
networks:
- bloxapp-docker
restart: always
ssv-node-3:
build:
context: .
dockerfile: Dockerfile
command:
- "start-node"
- "--node-id=3"
- "--leader-id=1"
- "--private-key=${SSV_NODE_3}"
- "--validator-key=${VALIDATOR_PUBLIC_KEY}"
- "--beacon-node-addr=${BEACON_NODE_ADDR}"
- "--network=${NETWORK}"
- "--val=${CONSENSUS_TYPE}"
environment:
DOCKER_COMPOSE: "true"
PUBKEY_NODE_1: "89791f38daa4ba0288035e6e12f11dd7c6e68651f2ae81f40a5bc5002e32281cab7b16e0ce12084619a2ce3d23d9f357"
PUBKEY_NODE_2: "98090f5ace3818b27b6ea2d38524556ec8c39d568a1595adb00964415eae62998c12ef015eda17f8d590f22b1778ec02"
networks:
- bloxapp-docker
restart: always
networks:
bloxapp-docker:
driver: bridge
name: bloxapp-docker