You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
2 weeks ago | |
|---|---|---|
| .. | ||
| config/examples | 4 weeks ago | |
| other | 4 weeks ago | |
| tmpfiles.d | 4 weeks ago | |
| Makefile | 4 weeks ago | |
| README.md | 2 weeks ago | |
| gitea.container | 4 weeks ago | |
| gitea.target | 4 weeks ago | |
| overlay.bu | 4 weeks ago | |
README.md
Podman Quadlet: Gitea
Overview
Gitea is a lightweight, self-hosted Git service started as a Podman Quadlet. It provides a GitHub/GitLab-like experience for hosting Git repositories.
This cookbook:
- Runs Gitea as a rootless container with minimal privileges.
- Uses PostgreSQL as the database backend (requires the
postgresqlcookbook). - Includes health checks to monitor the service status.
- Supports automatic container image updates via Podman auto-update.
Prerequisites
- The
postgresqlcookbook must be installed and running. - Configuration file
/etc/quadlets/gitea/config.envmust exist.
Usage
In a separate terminal, follow the logs.
sudo make tail-logs
Install the Podman Quadlets and start Gitea.
sudo make clean install
You should see the gitea.service waiting for PostgreSQL to be available, then starting up.
Verify Gitea is running:
curl -sSf http://127.0.0.1:3000/
Restart the gitea.target unit.
sudo systemctl restart gitea.target
Finally, remove the quadlets, their configuration and their data.
sudo make uninstall clean
Integration tests
sudo make test