This repository contains a Dockerfile and scripts to set up and run an Ergo node inside a Docker container.
- Docker
-
Clone this repository: git clone https://github.com/your-repo/docker-ergo-node.git
-
Build the docker image:
docker build -t ergo-node .
- Run the Docker container:
docker run -d --name ergo-node -e API_KEY=your_api_key ergo-node
- ``our_api_key`: Please maintain your own API_KEY that you will use to unlock and lock your Node wallet.
The ergo.conf
file is automatically generated and configured with the following properties:
node.extraIndex
: Enables the extra index feature for improved performance. By default, it is set totrue
.node.extraCacheSize
: The size of the extra cache. By default, it is set to500
.node.utxoBootstrap
: Enables the UTXO bootstrap feature for initial synchronization. By default, it is set totrue
.node.storingUtxoSnapshots
: The number of UTXO snapshots to store. By default, it is set to2
.
You can modify these configuration properties by editing the start_node.sh
script and rebuilding the Docker image.
This project is licensed under the MIT License.