Files
homelab/gitea

Gitea

Git hosting with HTTP and a separate SSH route.

Kubernetes uses the shared PostgreSQL service and gitea-pvc for repositories and application data. Match the Gitea database password with the shared database Secret. SSH is routed through Traefik's TCP entrypoint on 2221.

Compose uses a separate PostgreSQL 14 database, bind mounts gitea-data/ and gitea-db/, and publishes host port 2221. It is an alternative deployment with its own database, not a second frontend for the Kubernetes instance.

Back up repositories, application configuration, and a consistent database dump together. Gitea Actions definitions for this repository live in ../.gitea/.

Inspect

From the repository root:

kubectl get pods,svc,pvc -n gitea
kubectl get events -n gitea --sort-by=.metadata.creationTimestamp

See the repository README for deployment selection.