Docker Cluster

User docker container to start a gameluk chain cluster

Prerequisite

Install Docker & Docker Compose

For MacOS:

# The easiest and recommended way to get Docker and
# Docker Compose is to install Docker Desktop here:
https://docs.docker.com/desktop/install/mac-install/

For Ubuntu:

# Follow the below link to install docker on ubuntu
https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository
# Follow the below link to install standalone docker compose
https://docs.docker.com/compose/install/other/

Deploy Gameluk Chain Validators on Docker

Detailed instructions and commands can be found the Makefile

Start a 4 Node Validator Cluster

This will start a 4 node sei chain cluster, each validator node will be running in its own docker container, and each node will also run the oracle price feeder daemon

All the logs and genesis files will be generated under the temporary build/generated folder. To access the service log:

SSH into a single validator node

Deploy a State Sync Node

Requirement: Follow the above steps to start a 4 node docker cluster before starting any state sync node.

Local Docker for Debugging & Testing

One of the fanciest thing of using docker is fast iteration. Here we support:

  • Being able to make changes locally and start up the chain to see the immediate impact

  • Being able to make changes to local dependency repo (Cosmo SDK/Tendermint) and start the chain with the latest changes without bumping or release any binary version

In order to make local debugging work, you can follow these steps:

Local Docker for Debugging & Testing

One of the fanciest thing of using docker is fast iteration. Here we support:

  • Being able to make changes locally and start up the chain to see the immediate impact

  • Being able to make changes to local dependency repo (Cosmo SDK/Tendermint) and start the chain with the latest changes without bumping or release any binary version

In order to make local debugging work, you can follow these steps:

Last updated