Skip to content

CryptoManufaktur-io/aptos-docker

Repository files navigation

Overview

Docker Compose for aptos docker

Meant to be used with central-proxy-docker for traefik and Prometheus remote write; use :ext-network.yml in COMPOSE_FILE inside .env in that case.

If you want the RPC ports exposed locally, use rpc-shared.yml in COMPOSE_FILE inside .env.

Quick Start

The ./aptosd script can be used as a quick-start:

./aptosd install brings in docker-ce, if you don't have Docker installed already.

cp default.env .env

nano .env and adjust variables as needed.

./aptosd up

Software update

To update the software, run ./aptosd update and then ./aptosd up

Customization

custom.yml is not tracked by git and can be used to override anything in the provided yml files. If you use it, add it to COMPOSE_FILE in .env

Sync Check

Run:

./aptosd check-sync

Default check-sync settings:

  • compose service: aptos
  • local RPC: http://127.0.0.1:${API_PORT:-8080}/v1
  • public RPC: https://api.mainnet.aptoslabs.com/v1
  • lag threshold: 2 blocks

You can override defaults with:

./scripts/check_sync.sh --compose-service aptos --local-rpc <url> --public-rpc <url> --block-lag <n> --env-file <path>

Version

aptos docker Docker uses a semver scheme.

This is aptos docker Docker v1.0.0

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages