Nethence Newdoc Olddoc Lab Your IP BBDock  

Setting up GOGS

docker pull gogs/gogs
mkdir -p /data/gogs/
#docker rm -f gogs
docker run -d --name=gogs -p 10022:22 -p 3000:3000 -v /data/gogs:/data gogs/gogs

run the web wizard,
(don't forget to create admin account and remember password)

get into the container,

docker exec -ti gogs bash

setup some handy aliases,

cd ~/
vi .bash_profile

alias ll='ls -alhF'

source .bash_profile

(optional) create a custom config and change a setting e.g.,

#cd /data/gogs/
#mkdir -p custom/conf/
#cp conf/app.ini custom/conf/
#vi custom/conf/app.ini

#APP_NAME = Gogs PoC


Home | GitHub | Donate | Contact