blockstack/subdomain-registrar

Sponsored OSS

By Stacks Foundation

Updated over 2 years ago

subdomain-registrar

Image
Security
Integration & delivery
API management
0

10K+

blockstack/subdomain-registrar repository overview

Mirror of quay.io blockstack/subdomain-registrar

Running with Docker

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
}

Tag summary

Content type

Image

Digest

sha256:dfaf7868e

Size

201 MB

Last updated

over 2 years ago

docker pull blockstack/subdomain-registrar:master

This week's pulls

Pulls:

248

Last week