====== Forgejo ======
Self-hosted Git Server (Gitea Fork).
===== Details =====
^ Key ^ Value ^
| Container | CT 116 |
| IP | 10.100.161.116 |
| Port | 3000 |
| RAM | 512 MB |
| URL | https://git.home.miskam.xyz |
===== Features =====
* Git Repositories
* Pull Requests
* Issues & Projects
* Actions (CI/CD)
* Packages Registry
* Organizations
===== Repositories =====
^ Repo ^ Beschreibung ^
| mxm-bot/automation-stack | Ansible Playbooks & Roles |
===== Datenbank =====
* **Host:** 10.100.161.110 (PostgreSQL)
* **Database:** forgejo
* **User:** forgejo
===== Konfiguration =====
/var/lib/forgejo/
├── custom/conf/app.ini # Hauptkonfig
├── data/ # Repositories
└── log/ # Logs
===== Service =====
systemctl status forgejo
journalctl -u forgejo -f
===== Git Clone =====
# HTTPS
git clone https://git.home.miskam.xyz/mxm-bot/automation-stack.git
# SSH (wenn konfiguriert)
git clone git@git.home.miskam.xyz:mxm-bot/automation-stack.git
===== Backup =====
# Repositories
rsync -av /var/lib/forgejo/data/ backup/
# Database
pg_dump -h 10.100.161.110 -U forgejo forgejo > forgejo.sql
===== Ansible =====
ansible-playbook site.yml --limit forgejo
===== Links =====
* [[https://forgejo.org/docs/|Forgejo Docs]]
* [[https://git.home.miskam.xyz/mxm-bot/automation-stack|Automation Stack Repo]]