CLean up site generation

This commit is contained in:
James Thompson
2026-03-23 04:29:25 +00:00
parent 716baafbc1
commit 90073c1d7a
40 changed files with 487 additions and 880 deletions

61
docs/services/gitea.md Normal file → Executable file
View File

@@ -1,58 +1,15 @@
# gitea
> Auto-generated from `docker-compose.yml`
> This page auto-includes the service configuration files.
| Field | Value |
|-------|-------|
| **Image** | `gitea/gitea:1.24.3` |
| **Container** | `gitea` |
| **Restart** | `always` |
## Docker Compose Configuration
### Environment
```yaml
--8<-- "gitea/docker-compose.yml"
```
**Env files:** `../.env`, `.env`
## Environment Variables (`.env.example`)
| Variable | Value |
|----------|-------|
| `USER_UID` | `${USER_UID}` |
| `USER_GID` | `${USER_GID}` |
| `GITEA__database__DB_TYPE` | `sqlite3` |
| `GITEA__server__ROOT_URL` | `https://gitea.${DOMAIN}/` |
| `USER` | `git` |
| `GITEA_CUSTOM` | `/data/gitea` |
### Ports
| Host | Container | Protocol |
|------|-----------|----------|
| `222` | `22` | tcp |
### Volumes
| Host Path | Container Path | Mode |
|-----------|----------------|------|
| `${STORAGE_PATH}/gitea` | `/data` | rw |
| `/etc/timezone` | `/etc/timezone` | ro |
| `/etc/localtime` | `/etc/localtime` | ro |
### Networks
- `gitea` (internal)
- `web` (internal)
### Labels
| Key | Value |
|-----|-------|
| `traefik.enable` | `true` |
| `traefik.http.routers.gitea.entrypoints` | `websecure` |
| `traefik.http.routers.gitea.rule` | `Host(`gitea.${DOMAIN}`)` |
| `traefik.http.routers.gitea.tls.certresolver` | `letsencrypt` |
| `traefik.http.services.gitea.loadbalancer.server.port` | `3000` |
### Networks (compose-level)
- `gitea` (internal)
- `web` (external)
---
```bash
--8<-- "gitea/.env.example"
```