repositorypackage
0.0.0-20240909211356-cefa9703f18d
Repository: https://github.com/dguihal/goboard.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
goboard
Introduction
How-to
Build
export GOPATH=~/go
go get github.com/dguihal/goboard
cd $GOPATH/src/github.com/dguihal/goboard
go build
Configure
Run
Dockerfile
Support for MaxHistorySize, BackendTimeZone, CookieDuration and ADMIN_TOKEN environment variables (-e)
ADMIN_TOKEN has to be set (no default).
Usage:
git clone https://github.com/dguihal/goboard
cd goboard
docker build -t goboard:latest .
With data out of docker instance (Let you upgrade easily without losing your data)
Create a data volume (To store db data)
docker volume create goboard_data
Run (Beware of your ADMIN_TOKEN : It's the key to protect your admin rights)
docker run -p 8080:8080 -v goboard_data:/data -e ADMIN_TOKEN=somekindofverylongstring -e GoBoardDBPath=/data goboard
With data inside the docker instance (Beware : Destroying your image destroys data)
docker run -p 8080:8080 -e ADMIN_TOKEN=somekindofverylongstring goboard