This guide explains how to run Ergs using Docker and Docker Compose.
-
Set your own importer api key in
docker/config.tomlor disable the importer removing the importer section and the importer datasource fromdocker/config.toml(or remove the importer service fromdocker/compose.yml). -
Start the services:
cd docker docker compose up -d -
Access the web interface: Open http://localhost:7117 in your browser
The Docker Compose setup runs two containers:
- ergs-serve: Scheduler daemon that fetches data from datasources at configured intervals
- ergs-web: Web interface for searching and browsing data
- ergs-importer: Service to receive blocks from external importers
All containers share the same data volume (ergs-data) where the SQLite database are stored.