Deployment docker-compose files to deploy an nwaku node
Go to file
Ivan Folgueira Bande 13ad7626f8
waku metrics, rpc, and prometheus ports accessible only from 127.0.0.1
2023-08-10 10:52:46 +02:00
monitoring grafana.ini: making sure the credentials window appears & update README.md 2023-08-09 16:27:57 +02:00
postgres_cfg Initial release of nwaku-compose 2023-08-09 12:36:03 +02:00
.gitignore Initial release of nwaku-compose 2023-08-09 12:36:03 +02:00
README.md grafana.ini: making sure the credentials window appears & update README.md 2023-08-09 16:27:57 +02:00
docker-compose.yml waku metrics, rpc, and prometheus ports accessible only from 127.0.0.1 2023-08-10 10:52:46 +02:00
run_node.sh Initial release of nwaku-compose 2023-08-09 12:36:03 +02:00

README.md

nwaku-compose

Ready to use docker-compose that runs a nwaku node and monitors it with already set up and configured postgres, grafana and prometheus instances. All in just a few steps.

Instructions

Note that you must have installed docker-compose and git.

Get the code:

git clone git@github.com:waku-org/nwaku-compose.git
cd nwaku-compose

Edit the environment variables present at the beginning of the docker-compose.yml file.

Start everything: nwaku, postgres, prometheus, and grafana.

docker-compose up -d

Go to http://localhost:3000/d/yns_4vFVk/nwaku-monitoring?orgId=1, type the credentials (by default,"admin", "admin") and after some seconds, your node metrics will be live there, just like in the picture. As simple as that.

grafana-dashboard

Notes:

  • Feel free to change the image you are using statusteam/nim-waku:xxx. You can see the available tags in docker hub.
  • If you want to access grafana from outside your machine, feel free to remove 127.0.0.1 and open the port, but in that case you may want to set up a password to your grafana.