Quick Start

The information above is based on AWS ec2 instance, ubuntu LTS 18.04

Requirements

Using Docker

  • for aligned environments, we recommend using Docker.

  • Please refer to these links if you have a problem while installing Docker.

# docker engine section
sudo apt-get remove -y docker docker-engine docker.io containerd runc &&
sudo apt-get update &&
sudo apt-get upgrade -y &&
sudo apt-get install -y \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common &&   
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - &&
sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable" &&
sudo apt-get update &&
sudo apt-get install docker-ce docker-ce-cli containerd.io -y

# docker compose section
sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
# sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

Download

  • Download source files here

  • Download a specific vault's settings.js file here

Setup Environments

  • See the configuration section.

  • Place your governance key into settings.js

  • If using infur for eth node, place your infura [PROJECT ID] into settings.js

  • Ddit your redis information into settings.js, docker-compose.yml

  • It is a hard requirement to match settings.js's REDIS_HOST and docker-compose.yml's service names.

  • Ddit your mysql root account's secret into mysql-secret before launching Docker.

  • Edit your mysql information in settings.js, docker-compose.yml

  • It is a hard requirement to match settings.js's DB_HOST and docker-compose.yml's service names.

Launch

Monitoring

Last updated

Was this helpful?