docs(gitea): update README architecture, appctl deployment, and Unlicense
This commit is contained in:
1 parent
9584d5ee52
commit
31c3983c43
2 files changed
+56
-16
No files matched your search
@@ -0,0 +1,24 @@
|
|||||||
|
This is free and unencumbered software released into the public domain.
|
||||||
|
|
||||||
|
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||||
|
distribute this software, either in source code form or as a compiled
|
||||||
|
binary, for any purpose, commercial or non-commercial, and by any
|
||||||
|
means.
|
||||||
|
|
||||||
|
In jurisdictions that recognize copyright laws, the author or authors
|
||||||
|
of this software dedicate any and all copyright interest in the
|
||||||
|
software to the public domain. We make this dedication for the benefit
|
||||||
|
of the public at large and to the detriment of our heirs and
|
||||||
|
successors. We intend this dedication to be an overt act of
|
||||||
|
relinquishment in perpetuity of all present and future rights to this
|
||||||
|
software under copyright law.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
|
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||||
|
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||||
|
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
|
OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
For more information, please refer to <https://unlicense.org>
|
||||||
@@ -1,27 +1,38 @@
|
|||||||
# 🐙 Homelab Gitea
|
# 🐙 Homelab Gitea (Git Service)
|
||||||
|
|
||||||
Self-hosted Git service providing repository management, webhooks, and issue tracking.
|
Self-hosted lightweight Git service, code repository, and issue tracker.
|
||||||
|
|
||||||
Part of the [homelab-core](https://github.com/kiskaadee/homelab-core) cluster ecosystem.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🏗️ Architecture & Storage
|
## 🏗️ Architecture & Requirements
|
||||||
|
|
||||||
- **Container Image**: `gitea/gitea:latest`
|
- **Proxy Network**: Attached to external `proxy-net`
|
||||||
- **Proxy**: Traefik (attached to `proxy-net`)
|
- **Domain**: `gitea.roadtotech.me`
|
||||||
- **Persistent Data**: `./data` (gitignored, bind-mounted to `/data`)
|
- **Target Port**: `3000` (HTTP Web), `2222` (SSH)
|
||||||
- **SSH Port**: `222` (Host SSH passthrough)
|
|
||||||
- **Web Port**: `3000` (Traefik ingress)
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## ⚙️ Environment Variables
|
## ⚙️ Configuration & Metadata (`app.yaml`)
|
||||||
|
|
||||||
| Variable | Description | Default / Example |
|
```yaml
|
||||||
| :--- | :--- | :--- |
|
name: "gitea"
|
||||||
| `GITEA_DOMAIN` | Web UI FQDN | `gitea.arch-services.mywire.org` |
|
aliases:
|
||||||
| `GITEA_SSH_DOMAIN` | SSH clone domain | `gitea.arch-services.mywire.org` |
|
- "git"
|
||||||
|
domain: "gitea.roadtotech.me"
|
||||||
|
description: "Self-Hosted Git Service & Code Repository"
|
||||||
|
visible: true
|
||||||
|
auth: false
|
||||||
|
networks:
|
||||||
|
- proxy-net
|
||||||
|
env:
|
||||||
|
SSH_DOMAIN: "gitea.roadtotech.me"
|
||||||
|
homepage:
|
||||||
|
title: "Gitea"
|
||||||
|
group: "Development & AI"
|
||||||
|
icon: "gitea.png"
|
||||||
|
container: "gitea"
|
||||||
|
weight: 10
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -29,10 +40,15 @@ Part of the [homelab-core](https://github.com/kiskaadee/homelab-core) cluster ec
|
|||||||
|
|
||||||
### Via Orchestrator (`appctl`)
|
### Via Orchestrator (`appctl`)
|
||||||
```bash
|
```bash
|
||||||
appctl up homelab-gitea
|
appctl up gitea
|
||||||
```
|
```
|
||||||
|
|
||||||
### Manual Deployment
|
### Manual Deployment
|
||||||
```bash
|
```bash
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
```
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## 📄 License
|
||||||
|
This repository is released into the public domain under the [Unlicense](LICENSE).
|
||||||
Reference in new issue
Block a user