This repository was archived by the owner on Apr 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Docker
Rhys Bartels-Waller edited this page Mar 9, 2020
·
9 revisions
Docker builds of cardano-explorer-api and cardano-tx-submit are available on Docker Hub.
The docker-compose.yaml in this repo provides a working reference, and can be used as-is with the addition of database configuration files created, or used as a starting point to manage the stack of Cardano services.
./config/pgpass
postgres:5432:cardano-db:postgres:a-secret-password
./config/secrets/postgres_db
cardano-db
./config/secrets/postgres_password
a-secret-password
./config/secrets/postgres_user
postgres
NETWORK=testnet docker-compose up
docker-compose down
or if wishing to remove data volumes
docker-compose down -v
Ensure that you have Nix installed and the IOHK binary cache enabled (instructions).
Then run these commands from the cardano-rest
git repo:
docker load -i $(nix-build -A dockerImages.txSubmit --no-out-link)
docker load -i $(nix-build -A dockerImages.explorerApi --no-out-link)
If you have no local changes, the build should be downloaded from the IOHK binary cache then loaded into the local Docker registry.