Gogs the web-based Git Administrator running on the Raspberry Pi Zero. Based on arm32v6 images. See instructions at the main gog image.
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.
Set up a domain on the web server with a certificate, and proxy port 443 to the container port.
Once that is working, create a cron job that will do a daily backup of the gogs folder.
Content type
Image
Digest
Size
44.5 MB
Last updated
about 6 years ago
docker pull ricardo1/gogs