refactor: rename the gitea-mirror service directory to gitea

This commit is contained in:
tiennm99 committed 2026-10-05 15:54:03 +07:00
1 parent d0eb7c8aa9
commit 5caa497d7f
7 files changed
+7 -7

No files matched your search

@@ -1,12 +1,12 @@
---
name: gitea-mirror-maintenance
description: Detect and clean up failed, broken, or empty Gitea mirror repositories in the Coolify-deployed gitea + gitea-mirror stack, using tea and the gitea-mirror API. Use when the user asks to check mirror health, find failed or empty repos, investigate why a mirror did not sync or clone, delete broken mirror repos, delete archived copies of the user's own deleted repos, clean up duplicates left by renamed, transferred or re-cased GitHub repos, reclaim disk space from partial clones, re-mirror repos that failed, or run routine mirror upkeep. Not for Gitea setup, upgrades, or deployment problems — those belong to `gitea-mirror/compose.yml`.
description: Detect and clean up failed, broken, or empty Gitea mirror repositories in the Coolify-deployed gitea + gitea-mirror stack, using tea and the gitea-mirror API. Use when the user asks to check mirror health, find failed or empty repos, investigate why a mirror did not sync or clone, delete broken mirror repos, delete archived copies of the user's own deleted repos, clean up duplicates left by renamed, transferred or re-cased GitHub repos, reclaim disk space from partial clones, re-mirror repos that failed, or run routine mirror upkeep. Not for Gitea setup, upgrades, or deployment problems — those belong to `gitea/compose.yml`.
---
# Gitea Mirror Maintenance
Maintain the `gitea` + `gitea-mirror` stack deployed by
`gitea-mirror/compose.yml` on Coolify: find mirror repositories whose pull failed, classify
`gitea/compose.yml` on Coolify: find mirror repositories whose pull failed, classify
each failure, then clean up only what is safe to delete.
**Scope.** Mirror health auditing and cleanup only. Not Gitea first-run setup,
@@ -24,7 +24,7 @@ the host.
| Delete a repo | `tea repos delete --login <login> --owner O --name N --force` |
| gitea-mirror API | `$GITEA_MIRROR_URL/api/...` with header `x-api-key: $GITEA_MIRROR_API_KEY` |
| gitea-mirror key | created in the gitea-mirror UI: Settings → Authentication → API Keys |
| Gitea container log | Coolify MCP `miti-jp`: `get_logs` on the `gitea-mirror` application |
| Gitea container log | Coolify MCP `miti-jp`: `get_logs` on the `gitea` application |
Export `GITEA_MIRROR_URL` and `GITEA_MIRROR_API_KEY` in the shell before
running the scripts; both live in the composes repo-root `.env`, so
+1 -1
View File
@@ -80,7 +80,7 @@ Each links to its own README for variables, ports, and storage.
| [code-server](code-server/README.md) | VS Code in the browser, as a remote dev box |
| [couchbase](couchbase/README.md) | Couchbase Server |
| [diun](diun/README.md) | Image-update notifier, reading the Docker API through a read-only proxy |
| [gitea-mirror](gitea-mirror/README.md) | Gitea + PostgreSQL + gitea-mirror, mirroring GitHub repos |
| [gitea](gitea/README.md) | Gitea + PostgreSQL + gitea-mirror, mirroring GitHub repos |
| [goclaw](goclaw/README.md) | Multi-tenant AI agent gateway, with pgvector PostgreSQL |
| [hermes](hermes/README.md) | Hermes Agent with its built-in web dashboard |
| [litellm](litellm/README.md) | LiteLLM proxy in front of many LLM providers, with PostgreSQL and Redis |
@@ -1,6 +1,6 @@
# gitea-mirror troubleshooting
Applies to `gitea-mirror/compose.yml`.
Applies to `gitea/compose.yml`.
## Gitea cannot connect after changing `POSTGRES_PASSWORD`
@@ -14,5 +14,5 @@ docker compose exec db psql -U gitea -c "ALTER USER gitea PASSWORD '<new>';"
## A redeploy kills clones in progress
Gitea restarts and the clone dies with it. Avoid pushing to `gitea-mirror/`
Gitea restarts and the clone dies with it. Avoid pushing to `gitea/`
while a large first mirror runs.
File renamed without changes.
File renamed without changes.
+1 -1
View File
@@ -1,4 +1,4 @@
# gitea-mirror
# gitea
Self-hosted [Gitea](https://about.gitea.com/) backed by PostgreSQL, with
[gitea-mirror](https://github.com/RayLabsHQ/gitea-mirror) mirroring GitHub
File renamed without changes.