Skip to content

xxuejie/perkins-tent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Perkins' Tent

Reference: https://harrypotter.fandom.com/wiki/Perkins%27s_tent

This repository provides a docker image containing the following pieces:

The idea is that anyone can create a server with the docker image which serves CKB to the general public.

While right now we are providing only basic setups, we might expand this later with more features such as:

  • Rate-limiting configurations
  • Token-based ACL

Usage

To start the docker image, you can use the following command:

$ docker run --rm -p 9115:9115 xxuejie/perkins-tent

Right now the image hardcodes port 9115 as the port to listen to, we might revise this later to make it configurable. That said, you can tweak docker's mapping port to listen at other ports. For example, the following command changes the image to listen at port 12345 instead of 9115:

$ docker run --rm -p 12345:9115 xxuejie/perkins-tent

It's also possible to preserve CKB's data as well as configuration file, the following command maps /foo/bar on the host machine into the docker image, so data and configurations can be reused across docker restarts:

$ docker run --rm -p 9115:9115 -v /foo/bar:/data xxuejie/perkins-tent

About

One click CKB docker distribution

Resources

License

Stars

Watchers

Forks

Packages

No packages published