Coder Social home page Coder Social logo

synchronet-docker's Introduction

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

synchronet-docker's People

Contributors

rhaamo avatar

Watchers

 avatar  avatar  avatar

Forkers

rptst

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.