Skip to content

rhaamo/synchronet-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SynchroNET Docker image

Important config notes

By default this image builds and assume synchronet will runs under the synchronet user and group (both UID/GID are 1000 by default), you will probably needs to adapt your config file.

Synchronet build, and run directory, is /home/synchronet/sbbs, ctrl and data directories are exposed VOLUMES.

http://wiki.synchro.net/config:nix

How to launch scfg:

docker exec -it -u synchronet synchronet /home/synchronet/sbbs/exec/scfg -k -iD

Build

Uses VERSION (like 317b) to build a specific version of SynchroNet.

docker image build -t synchronet:latest .

Specific version:

docker image build --build-arg VERSION=317b -t synchronet:317b .

Run

docker run -d --name synchronet \
	-v /sbbs/data:/home/synchronet/sbbs/data \
	-v /sbbs/ctrl:/home/synchronet/sbbs/ctrl \
	synchronet:latest

Initial config

Assuming you are using dedicated volumes for data, text and ctrl.

Do a touch local dir for ctrl/.init, like touch /datas/synchronet/ctrl/.init, assuming /datas/synchronet/ctrl is the folder on the host which will be mounted inside the synchronet container.

Then start the container, when detecting this .init file, the content will be copied on the new volumes.

Don't do it twice or if you already have configs !

Environment

Key Default value Description
SBBS_UID 1000 Runtime Synchronet User ID
SBBS_GID 1000 Runtime Synchronet Group ID
SBBS_INIT_NODES 6 Number of nodes to init by default

Volumes

path description
/home/synchronet/sbbs/data Datas volume
/home/synchronet/sbbs/ctrl Config volume
/home/synchronet/sbbs/text Text volume

Versions

  • 317b

About

Docker image for SynchroNET BBS server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published