export GOPATH=~/go
go get github.com/dguihal/goboard
cd $GOPATH/src/github.com/dguihal/goboard
go build
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 .
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
docker run -p 8080:8080 -e ADMIN_TOKEN=somekindofverylongstring goboard