Skip to content

Latest commit

 

History

History
46 lines (25 loc) · 1.4 KB

File metadata and controls

46 lines (25 loc) · 1.4 KB

Docker Ergo Node

This repository contains a Dockerfile and scripts to set up and run an Ergo node inside a Docker container.

Dependencies

  • Docker

Getting Started

  1. Clone this repository: git clone https://github.com/your-repo/docker-ergo-node.git

  2. Build the docker image:

docker build -t ergo-node .

  1. Run the Docker container:

docker run -d --name ergo-node -e API_KEY=your_api_key ergo-node

Docker Environment Variables

  • ``our_api_key`: Please maintain your own API_KEY that you will use to unlock and lock your Node wallet.

Ergo Node Configuration

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 to true.
  • node.extraCacheSize: The size of the extra cache. By default, it is set to 500.
  • node.utxoBootstrap: Enables the UTXO bootstrap feature for initial synchronization. By default, it is set to true.
  • node.storingUtxoSnapshots: The number of UTXO snapshots to store. By default, it is set to 2.

You can modify these configuration properties by editing the start_node.sh script and rebuilding the Docker image.

Additional Resources

License

This project is licensed under the MIT License.