I recently stumbled across the Gogs project whilst looking for self-hosted Git solutions. I run a FreeNAS server at home so I thought I would get the app up and running in a jail. Here is how I did it.
Jail Preparation Create a new jail named gogs and make sure that the jail is up to date by running.
pkg update && pkg upgrade Now install the required packages.