You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/xdcchain/developers/node_operators/docker.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,7 +58,7 @@ nano .env
58
58
**For Mainnet run the following commands:**
59
59
```bash
60
60
cd mainnet
61
-
sudo docker-compose -f docker-compose.yml up -d
61
+
bash docker-up.sh
62
62
```
63
63
At this point you should be able to see your masternode on the list of nodes here or as shown below:
64
64
@@ -67,15 +67,15 @@ At this point you should be able to see your masternode on the list of nodes her
67
67
For Testnet run the following commands:
68
68
```bash
69
69
cd testnet
70
-
sudo docker-compose -f docker-compose.yml up -d
70
+
bash docker-up.sh
71
71
```
72
72
You should be able to see your node listed on the [Apothem Network] page. Select **"Switch to LiveNet"** to check **LiveNetwork** Stats and Select **"Switch to TestNet"** for **TestNetwork**.
73
73
74
74
Your coinbase address can be found in xdcchain/coinbase.txt file.
75
75
76
76
For troubleshooting purposes, you can stop the node by using the following command on either Mainnet or Testnet:
77
77
```bash
78
-
sudo docker-compose -f docker-compose.yml down
78
+
bash docker-down.sh
79
79
```
80
80
81
81
**Downloading a Network Snapshot (Mainnet or Apothem)**
@@ -88,7 +88,7 @@ The following steps are to expedite the syncing process of your node with the XD
88
88
89
89
**Bring down your node:**
90
90
```bash
91
-
sudo docker-compose -f docker-compose.yml down
91
+
bash docker-down.sh
92
92
```
93
93
**Remove the old xdchain file from the server**
94
94
```bash
@@ -130,7 +130,7 @@ This command will bring your node up and it will start syncing to the network. O
0 commit comments