This repository contains Ansible playbooks for setting up Nimiq nodes.
These are based on testnet requirements early on, disk might need be bigger later!
Mainnet is not yet available!
- CPU: 2 core
- Memory: 4 GB
- Disk: 40 GB SSD
- OS: Ubuntu 20.04+
- CPU: 2 core
- Memory: 4 GB
- Disk: 200+ GB SSD
- OS: Ubuntu 24.04+
To quickly set up or update a Nimiq node using this repository, you can use the provided setup script. The script will install Ansible if not already installed, clone this repository, and run the Ansible playbook with the specified arguments.
This is ment to be used together with the CLI https://github.com/maestroi/node-manager-cli else you can just create a inventory and deploy like any ansible.
The main playbook is playbook.yml
, which includes roles for setting up common dependencies, Docker, Nimiq nodes, and monitoring.
Installs common dependencies and performs system checks.
Installs Docker and Docker Compose.
Sets up the Nimiq node based on the specified network and node type.
Sets up monitoring tools like Promtail, Loki, Prometheus, and Grafana.
Contributions are welcome! Please open an issue or submit a pull request for any changes.
This project is licensed under the MIT License. See the LICENSE file for details.