ceremonyclient/DOCKER-README.md
Marius Scurtescu 27aa02383c
add .dockerignore and docker instructions (#56)
* add .dockerignore

* add docker specific readme

* update restart policy to unless-stopped
2024-02-20 17:13:43 -06:00

826 B

Quilibrium Docker Instructions

Build

Build the docker image:

docker build -t quilibrium -t quilibrium:1.2.9 .

Use latest version instead of 1.2.9.

Run

Run Quilibrium in a container:

docker compose up -d

A .config/ subfolder will be created under the current folder, this is mapped inside the container. Make sure you backup config.ym and keys.yml.

Intereact with a running cotainer

Drop into a shell inside a running container:

docker compose exec -it node sh

Watch the logs:

docker compose logs

Get the Peer ID:

docker compose exec node go run ./... -peer-id

Get the token ballance:

docker compose exec node go run ./... -balance

Run the DB console:

docker compose exec node go run ./... -db-console