This repository includes a Github action that builds a docker image for Antelope Leap.
The images are published on DockerHub:
The provided docker-compose.yaml
showcases how the docker image can be used to run a node on the XPR Network that has the state-history-plugin
enabled.
The entrypoints executes /usr/bin/nodeos
with following options:
--data-dir /opt/leap/data
--config-dir /opt/leap/config
A custom config.ini
can be mounted into /opt/leap/config
.
Additional options can be provided via commands
. For example --disable-replay-opts
needs to be provided if the state-history-plugin is enabled.
Note: In order to restore a chain snapshot with full state history, we refer to the official guide.
You can use the cleanup.sh
script to easily remove all the chain relevant files that will be added when running the node.
This can happen if nodeos
is NOT shut down cleanly, see troubleshooting section of the official guide.