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: README.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -205,19 +205,18 @@ In this example we created a random 700 bytes file for the test, but since the l
205
205
206
206
## Production setup
207
207
208
-
Apart from what was mentioned in the _Installation_ section, a docker-compose setup is available which installs extra components for better monitoring of Powergate:
209
-
```bash
210
-
cd docker
211
-
make up
212
-
```
213
-
This will spinup and auto-wire:
208
+
A production setup is also provided in the `docker` folder. It launches `powd` connected to `lotus` and `ipfs`, plus a set of monitoring components:
214
209
- _Prometheus_, which is the backend for metrics processing.
215
210
- _Grafana_, for metrics dashboard.
216
211
- _cAdvisor_, for container metrics.
217
212
- _Lotus_, node running on the current Testnet.
218
213
- _IPFS_, node running to back Powergate FFS.
219
214
- _Powergate_, wired with all of above components.
220
215
216
+
Depending on which network you want to connect to, you have to run different commands:
217
+
- `make up`, to connect to `testnet`.
218
+
- `make nerpa-up`, to connect to `nerpa`.
219
+
221
220
Remember that you should waitfor _Lotus_ to be fully-synced which might take a long time; you can check your current node sync status running `lotus sync status` inside the Lotus container. We also provide automatically generated Dockerhub images of Powergate server, see [textile/powergate](https://hub.docker.com/r/textile/powergate).
222
221
223
222
We will soon provide other non-contanerized setups, but most of the wiring can be auto-explained by the `docker/docker-compose.yaml` file.
0 commit comments