I chose gitea for my server. It is lightweight and does exactly what I need it to do.
This is the first component to be installed because it is required to bootstrap the cluster.
LXC containers are natively supported by Proxmox and a VM is not needed for a linux native service like gitea.
I store my container templates on the shared cephfs
storage.
pvetest1
--> cephfs
--> CT Templates
then click on the [Templates]
button to download a template.
Pick the gitea
template and download it.
At the top there is a blue button labeled [Create CT]
, use this to create your container.
Set Hostname
to git
, configure password for root and upload your public SSH key.
Select the gitea template (debian-11-turnkey-gitea_17.1-1_amd64.tar.gz
at time of writing)
Be sure to select cephblockdevice
so that the container is available on all nodes.
Default is an empty static IP address!
Either set the IP Address
or select dhcp
, or networking won't work.
Remember to set the VLAN Tag
if required.
Navigate to the High Availability settings (Datacenter
--> HA
) and add the git server as a new resource.
The HA will change to reflect the new status:
For configuration details see the turnkey linux documentation and the gitea documentation.
It will ask for a strong admin
password, use a password manager and not something simple like giteaP455!
.