- Project: StoreWise
- Author: José Antonio Perdiguero López
- Status: Production
Docker image for Sia node with a useful wrapper to provide multiple features such as automatic wallet unlocking, consensus database bootstrapping...
To run Sia you need previously to install the requirements and you can either use public docker image or build it from sources.
- Docker: Install it following official docs.
You can use public docker image to run the Sia service:
docker run -p 8000:8000 storewise/docker-sia:latest start
To keep node your node data you can mount data volume as:
docker run -p 8000:8000 -v data:/srv/apps/sia/data storewise/docker-sia:latest start
Wallet unlocking will be done after node finishes starting. It is necessary to define the wallet primary seed under
UNLOCK_WALLET
environment variable and to use --unlock
flag.
docker run -p 8000:8000 -e UNLOCK_WALLET="<primary seed>" storewise/docker-sia:latest start --unlock
At start you will be asked for bootstrapping consensus database but it could be declared using --(no-)bootstrap
flags
to avoid manual interactions.
docker run -p 8000:8000 storewise/docker-sia:latest --bootstrap
docker run -p 8000:8000 storewise/docker-sia:latest --no-bootstrap