For the complete documentation index, see llms.txt. This page is also available as Markdown.

Midgard - Docker

Setting up Midgard with Docker

The steps shown here are tested on Ubuntu 24.04, different distributions may need adjustments to the commands.

All commands are meant to be run as root user, if not specified otherwise. Depending on the server installation, they may need to be run from a different user via sudo.

Prerequisites

Install all packages needed for running and configuring the Midgard container

apt install -y --no-install-recommends docker.io

Configuration

Work directories

Prepare work directories

mkdir -p /opt/timescale
mkdir -p /opt/midgard/{config,blockstore}

Genesis

Download the genesis file.

Add midgard config.

Start

Start the TimescaleDB database

Start Midgard

Last updated

Was this helpful?