Docknode APT
Metrics
https://mydomain.com:9100/metricshttps://mydomain.com:9102/metrics
Install
- 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- Clone the repository and
git clone https://github.com/olivbau/docknode-apt.git
cd docknode-apt- 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- Setup UFW
ufw allow ssh && ufw deny 8080
ufw enable- Run
curl -o ./aptos/genesis.blob https://raw.githubusercontent.com/aptos-labs/aptos-networks/main/mainnet/genesis.blob
curl -o ./aptos/waypoint.txt https://raw.githubusercontent.com/aptos-labs/aptos-networks/main/mainnet/waypoint.txt
docker compose pull
docker compose up -d
docker logs -f docknode-apt-fullnode-1 --since 5m
docker compose downOn this page
Contributors
Created November 14, 2022
Updated March 27, 2023