gitea
Installation
SKILL.md
Identity
- Deployment: single binary (native) or Docker image (
gitea/gitea,codeberg.org/forgejo/forgejo) - Unit:
gitea.service(native) — no systemd unit in Docker deployments - Config:
/etc/gitea/app.ini(native) or/data/gitea/conf/app.ini(Docker volume) - Data dir:
/var/lib/gitea(native) or/data(Docker volume) - Logs:
journalctl -u gitea, or/var/lib/gitea/log///data/gitea/log/ - Git user:
git(native install) — all SSH operations run as this user - Ports: 3000 (HTTP web UI), 22 or 2222 (SSH git operations)
- Forgejo: community fork of Gitea with identical
app.iniformat and CLI — all commands below work on both. Replacegiteabinary withforgejowhere applicable.
Key Operations
| Operation | Command |
|---|---|
| Service status | systemctl status gitea |
| Start / stop / restart | systemctl start|stop|restart gitea |
| Reload config (no restart) | systemctl reload gitea — note: most [server] changes require a full restart |
| Admin CLI help | gitea admin --help (or forgejo admin --help) |
Related skills