Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.02 KB

README.md

File metadata and controls

53 lines (36 loc) · 1.02 KB

docker-scuttlebot

Run an ssb-server (scuttlebot server) in a Docker container

To run a Pub you need to have a static public IP, ideally with a DNS record (i.e.<hostname.yourdomain.tld>)

Download from Docker Hub

Docker Hub hosts an automated build of this repo so you can simply:

docker pull ktorn/docker-scuttlebot

Build from source

1. Clone this repo

Option 1)

From GitHub:

git clone https://github.com/ktorn/docker-scuttlebot.git

Option 2)

From Scuttlebot/git-ssb:

git clone ssb://%3lz/7Vpw17D3kKdCiaHKQ3upKNMeDKn7EOdL0plhDJU=.sha256 docker-scuttlebot

2. Build the container

cd docker-scuttlebot
docker build -t scuttlebot .

Run the container

1. Create a directory on the docker host for persisting the scuttlebot server's data

mkdir ~/sbot-data

2. Run the container

docker run --name sbot \
   -d -v ~/sbot-data/:/root/.ssb/ \
   -p 8008:8008 --restart always ktorn/docker-scuttlebot