Skip to content

olivbau/docknode-atom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docknode ATOM

Endpoints

  • Fullnode: https://mydomain.com
  • Node exporter: https://mydomain.com:9100/metrics

Install

  1. VPS config (optional)
apt update
apt upgrade
apt install git

# Or all in one command
apt update && apt upgrade -y && apt install -y git

# install docker https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository
  1. Clone the repository and
git clone https://github.com/olivbau/docknode-atom.git
cd docknode-atom
  1. Configure environement variables
cp .env.example .env

# Generate users passwords for basic auth
docker run --rm caddy:2-alpine caddy hash-password --plaintext 'password'

# Set users and passwords for basic auth
# Set the host
nano .env
  1. Setup UFW
ufw allow ssh
ufw deny 1317
ufw deny 26657
ufw deny 9090
ufw enable
  1. Run
wget -O ./gaia/genesis.json.gz https://raw.githubusercontent.com/cosmos/mainnet/master/genesis/genesis.cosmoshub-4.json.gz
gzip -d ./gaia/genesis.json.gz
docker compose pull --ignore-pull-failures
docker compose up -d
docker logs -f docknode-atom-gaiad-1 --since 5m
docker compose down

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published