Table of Contents

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

Repositories

Repo Beschreibung
mxm-bot/automation-stack Ansible Playbooks & Roles

Datenbank

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