-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
38 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,5 @@ drand-client | |
drand-relay-gossip | ||
drand-relay-http | ||
drand-relay-s3 | ||
docker/data* | ||
docker/data* | ||
**/nohup.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#bin/sh | ||
|
||
# README - Previous tasks | ||
# 1) Run dkg first with startBeacon.sh script | ||
# 2) Copy group file .drand/groups/drand_group.toml from node 0 to node 4 volume | ||
# 3) You are ready to run this script | ||
|
||
# Start leader | ||
nohup docker exec -u drand drand_0 /bin/sh -c 'drand share --transition --leader --nodes 5 --threshold 4 --period "5"' & | ||
|
||
sleep 3s | ||
|
||
# Start the rest of the nodes | ||
nohup docker exec -u drand drand_2 /bin/sh -c 'drand share --transition --connect drand_0:8080 --tls-disable' & | ||
nohup docker exec -u drand drand_1 /bin/sh -c 'drand share --transition --connect drand_0:8080 --tls-disable' & | ||
nohup docker exec -u drand drand_3 /bin/sh -c 'drand share --transition --connect drand_0:8080 --tls-disable' & | ||
nohup docker exec -u drand drand_4 /bin/sh -c 'drand share --connect drand_0:8080 --from ./data/drand/.drand/groups/drand_group.toml --tls-disable' & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters