subdomain-registrar
subdomain-registrar
10K+
Mirror of quay.io blockstack/subdomain-registrar
First copy the config file into a data directory and modify it to suit your needs:
mkdir -p data
cp config-sample.json data/config.json
vi config.json
Once that is done you can spin up the instance using docker-compose. The file will build the image as well:
docker-compose up -d
If you would like to run w/o compose you can do the same with docker:
# First build the image
docker build . --tag bsk-subdomain-registrar
# Then run it with the proper volumes mounted
docker run -d -v data:/root/ -e BSK_SUBDOMAIN_CONFIG=/root/config.json -p 3000:3000 bsk-subdomain-registrar
Root stores the sqlite database that the subdomain uses to queue registrations, and watch zonefiles for broadcasting. To test connectivity for this setup run the following curl command:
$ curl http://localhost:3000/index | jq
{
"status": true
}
Content type
Image
Digest
sha256:dfaf7868e…
Size
201 MB
Last updated
over 2 years ago
docker pull blockstack/subdomain-registrar:masterPulls:
248
Last week