chore(gitea): reconcile compose baseline and add app.yaml manifest

- Restore gitea/README.md from HEAD

- Reconcile gitea/docker-compose.yml with contained ./data mount and env-var injection

- Author schemaVersion 1.0 gitea/app.yaml passing core_manifest validation
This commit is contained in:
kiskaadee committed 2026-11-18 20:16:29 -05:00
1 parent d609f278da
commit 02a54c5649
2 files changed
+34 -7

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
schemaVersion: "1.0"
name: "gitea"
aliases:
- "git"
description: "Self-Hosted Git Service & Code Repository"
visible: true
auth: false
networks:
- proxy-net
env:
SSH_PORT: "2223"
deployment:
strategy: "compose"
branch: "main"
actions:
- git_pull
- compose_up
homepage:
title: "Gitea"
group: "Development & AI"
icon: "gitea.png"
container: "gitea"
weight: 10
+11 -7
View File
@@ -6,29 +6,33 @@ services:
environment:
- USER_UID=${USER_UID:-1000}
- USER_GID=${USER_GID:-1000}
- TZ=${TZ:-UTC}
# Gitea configuration via environment variables
- GITEA__database__DB_TYPE=${DB_TYPE:-sqlite3}
- GITEA__server__DOMAIN=${SERVICE_DOMAIN}
- GITEA__server__SSH_DOMAIN=${SSH_DOMAIN:-${SERVICE_DOMAIN}}
- GITEA__server__SSH_PORT=${SSH_PORT:-2223}
- GITEA__server__SSH_LISTEN_PORT=22
- GITEA__server__ROOT_URL=https://${SERVICE_DOMAIN}
- GITEA__webhook__ALLOWED_HOST_LIST=${GITEA_WEBHOOK_ALLOWED_HOST_LIST:-private,loopback,external}
ports:
- "${SSH_PORT:-2223}:22"
volumes:
- ${DATA_PATH:-./data}:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- ./data:/data
networks:
- proxy-net
labels:
- "traefik.enable=true"
# WebSecure Router
- "traefik.http.routers.${CONTAINER_NAME:-gitea}.rule=Host(`${SERVICE_DOMAIN}`)"
- "traefik.http.routers.${CONTAINER_NAME:-gitea}.entrypoints=websecure"
- "traefik.http.routers.${CONTAINER_NAME:-gitea}.entrypoints=${HTTPS_ENTRYPOINT:-websecure}"
- "traefik.http.routers.${CONTAINER_NAME:-gitea}.tls=true"
- "traefik.http.routers.${CONTAINER_NAME:-gitea}.middlewares=${AUTH_MIDDLEWARE}"
- "traefik.http.routers.${CONTAINER_NAME:-gitea}.tls.certresolver=${CERT_RESOLVER:-myresolver}"
- "traefik.http.routers.${CONTAINER_NAME:-gitea}.service=${CONTAINER_NAME:-gitea}-svc"
# HTTP to HTTPS Redirect Router
- "traefik.http.routers.${CONTAINER_NAME:-gitea}-red.rule=Host(`${SERVICE_DOMAIN}`)"
- "traefik.http.routers.${CONTAINER_NAME:-gitea}-red.entrypoints=web"
- "traefik.http.routers.${CONTAINER_NAME:-gitea}-red.middlewares=${HTTPS_REDIRECT_MIDDLEWARE}"
- "traefik.http.routers.${CONTAINER_NAME:-gitea}-red.entrypoints=${HTTP_ENTRYPOINT:-web}"
- "traefik.http.routers.${CONTAINER_NAME:-gitea}-red.middlewares=${HTTPS_REDIRECT_MIDDLEWARE:-https-redirect@docker}"
# Service definition
- "traefik.http.services.${CONTAINER_NAME:-gitea}-svc.loadbalancer.server.port=3000"