riccardocossu / docker-scuttlebot

Run a scuttlebot server in a Docker container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-scuttlebot

Run a 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/ 
   -e HOST="<hostname.yourdomain.tld>" 
   -p 8008:8008 --restart always scuttlebot

About

Run a scuttlebot server in a Docker container

License:GNU General Public License v3.0


Languages

Language:Dockerfile 76.3%Language:Shell 23.7%