chore: add gitea mariadb deployment

This commit is contained in:
2026-08-15 20:21:51 +08:00
parent 073a739f10
commit a47afe20a0
4 changed files with 81 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
# Gitea self-managed deployment
Gitea runs behind the existing Caddy gateway at `https://git.roncarve.com` and stores its data in MariaDB.
The web service is private to Docker network `gateway_gateway`; Caddy proxies to `gitea:3000`.
Git over SSH is exposed on host port `2222`:
```text
git clone ssh://git@git.roncarve.com:2222/owner/repository.git
```
Persistent data is stored under `/opt/gitea` on the server. MariaDB is only available inside the Docker network and is not exposed on a host port.
The first visit opens Gitea's installation page. Complete the setup and create the first administrator account there.