Sign inSign up

ricardo1/gogs

By ricardo1

•Updated about 6 years ago

Gogs Docker image for Raspberry Pi Zero

Image
0

290

ricardo1/gogs repository overview

Gogs the web-based Git Administrator running on the Raspberry Pi Zero. Based on arm32v6 images⁠. See instructions at the main gog image⁠.

  1. Make sure to map the container's data folder to an external volume or folder.
    sudo docker run --name gogs -d --restart unless-stopped -p 9022:22 -p 12085:3000 -v /mnt/gogs:/data 
will run the Gogs site off port 12085, ssh port on port 9022. The gogs data will be stored in the /mnt/gogs directory.

2. You will need to update the gogs/conf/app.ini file to match. See the Gogs documentation.

  1. Set up a domain on the web server with a certificate, and proxy port 443 to the container port.

  2. Once that is working, create a cron job that will do a daily backup of the gogs folder.

Tag summary

Content type

Image

Digest

Size

44.5 MB

Last updated

about 6 years ago

docker pull ricardo1/gogs