It's a Gnoland node that aim to run with always the latest version of gno and never loose transactions history.
For more information, see issue on github gnolang/gno#1239
Start the loop with:
docker compose up -d
# or using the Makefile
make docker.startThe portalloopd binary is starting inside of the docker container portalloopd
This script is doing:
- Setup the current portal-loop in read only mode
- Pull the latest version of ghcr.io/gnolang/gno
- Backup the txs using contribs/tx-archive
- Start a new docker container with the backups files
- Changing the proxy (traefik) to redirect to the new portal loop
- Unlock read only mode
- Stop the previous loop
You can find a Makefile to help you interact with the portal loop
- Force switch of the portal loop with a new version
make portalloopd.switch- Create an
.envfile adding all the entries from.env.example - Setup the DNS names present in the
docker-compose.ymlfile - run using
make all
To pull Portal Loop state from tx-exports, run the following make directive:
make pull-exportsThis will run the following steps:
- stop any running portal loop containers -> Portal Loop will be down
- clone the
gnolang/tx-exportsrepository and prepare the backup txs sheets located there as the genesis transactions for Portal Loop - start the portal loop containers -> Portal Loop will start back up again