1
- # Docker Swarm Voi Participation Node Setup
2
-
3
- [ ![ Codacy Badge] ( https://app.codacy.com/project/badge/Grade/ea47d627de494a92b25b97eb65930e85 )] ( https://app.codacy.com/gh/VoiNetwork/docker-swarm/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade )
1
+ # Voi Swarm Voi Participation Node Setup
4
2
5
3
## Prerequisites
6
4
@@ -27,7 +25,7 @@ system guidance on installation and setup.
27
25
To set up a new Voi node, run the following command:
28
26
29
27
``` bash
30
- /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/VoiNetwork/docker -swarm/main/install.sh) "
28
+ /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/VoiNetwork/voi -swarm/main/install.sh) "
31
29
```
32
30
33
31
## Using an Existing Account/Address with Mnemonic
@@ -37,7 +35,7 @@ environment variable to 1 and run the installation script:
37
35
38
36
``` bash
39
37
export VOINETWORK_IMPORT_ACCOUNT=1
40
- /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/VoiNetwork/docker -swarm/main/install.sh) "
38
+ /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/VoiNetwork/voi -swarm/main/install.sh) "
41
39
```
42
40
43
41
## Installing Without Wallet Setup
@@ -47,7 +45,7 @@ and run the installation script:
47
45
48
46
``` bash
49
47
export VOINETWORK_SKIP_WALLET_SETUP=1
50
- /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/VoiNetwork/docker -swarm/main/install.sh) "
48
+ /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/VoiNetwork/voi -swarm/main/install.sh) "
51
49
```
52
50
53
51
## Updating Your Participation Key
@@ -58,7 +56,7 @@ close to expiring. So, to keep your Voi node active, make sure your participatio
58
56
expire, rerun the installation script to generate a new key.
59
57
60
58
``` bash
61
- /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/VoiNetwork/docker -swarm/main/install.sh) "
59
+ /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/VoiNetwork/voi -swarm/main/install.sh) "
62
60
```
63
61
64
62
## Setting up Participation Key Expiry Notifications (Recommended)
@@ -72,9 +70,9 @@ To receive a notification when the participation key is about to expire, you can
72
70
73
71
### Copy the Example File
74
72
75
- Start by copying the example notification.yml file to the voi/docker-swarm directory:
73
+ Start by copying the example notification.yml file to the voi/docker directory:
76
74
77
- ` cp ~/voi/docker-swarm /notification.yml.example ~/voi/docker-swarm /notification.yml `
75
+ ` cp ~/voi/docker/notification.yml.example ~/voi/docker/notification.yml `
78
76
79
77
### Update the notification.yml File
80
78
@@ -102,7 +100,7 @@ The format of the schedule is following the standard [cronjob format](https://en
102
100
To apply your notification configuration to the stack, rerun the installation script:
103
101
104
102
``` bash
105
- /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/VoiNetwork/docker -swarm/main/install.sh) "
103
+ /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/VoiNetwork/voi -swarm/main/install.sh) "
106
104
```
107
105
108
106
### Testing Your Notification Configuration
@@ -119,7 +117,7 @@ To set a custom telemetry name, set the VOINETWORK_TELEMETRY_NAME environment va
119
117
120
118
``` bash
121
119
export VOINETWORK_TELEMETRY_NAME=" my_custom_telemetry_name"
122
- /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/VoiNetwork/docker -swarm/main/install.sh) "
120
+ /bin/bash -c " $( curl -fsSL https://raw.githubusercontent.com/VoiNetwork/voi -swarm/main/install.sh) "
123
121
```
124
122
125
123
Custom telemetry name can be combined with other environment variables.
@@ -128,7 +126,7 @@ Custom telemetry name can be combined with other environment variables.
128
126
129
127
To uninstall, execute the following commands:
130
128
131
- - Leave the Docker swarm with ` docker swarm leave --force `
129
+ - Leave the Swarm with ` docker swarm leave --force `
132
130
- Remove the ` voi ` directory with ` rm -rf /voi/ `
133
131
- Remove the ` data ` directory with ` sudo rm -rf /var/lib/voi `
134
132
0 commit comments