Tangled Spindle Docker#
Pre-Built Images#
There is a (repository)[https://atcr.io/r/treybastian.com/tangled-spindle#overview] of pre-built images for tags starting at v1.16.1-alpha if you prefer.
docker pull atcr.io/treybastian.com/tangled-spindle:latest
Building The Image#
By default the Dockerfile will build the master branch, but you can change it with the TAG build argument.
docker built -t tangled-spindle:latest --build-arg TAG=v1.16.1-alpha
The command above for example will build the latest commit on the v1.16.1-alpha tag.
Setting Up The Image#
The simplest way to setup your own spindle is to use the provided compose file and run the following:
mkdir data logs
export SPINDLE_SERVER_HOSTNAME=example.com
export SPINDLE_SERVER_OWNER=did:plc:yourdidhere
docker compose up -d
This will setup everything for you including a reverse proxy.