diff --git a/blueprints/gitea-mirror/docker-compose.yml b/blueprints/gitea-mirror/docker-compose.yml new file mode 100644 index 00000000..40c01e4d --- /dev/null +++ b/blueprints/gitea-mirror/docker-compose.yml @@ -0,0 +1,21 @@ +services: + gitea-mirror: + image: ghcr.io/arunavo4/gitea-mirror:v2.11.2 + restart: unless-stopped + healthcheck: + test: ["CMD", "wget", "--no-verbose", "--tries=3", "--spider", "http://localhost:4321/api/health"] + interval: 30s + timeout: 10s + retries: 5 + start_period: 30s + environment: + - NODE_ENV=production + - DATABASE_URL=file:data/gitea-mirror.db + - HOST=0.0.0.0 + - PORT=4321 + - JWT_SECRET=${JWT_SECRET} + volumes: + - gitea_mirror_data:/app/data + +volumes: + gitea_mirror_data: diff --git a/blueprints/gitea-mirror/gitea-mirror.png b/blueprints/gitea-mirror/gitea-mirror.png new file mode 100644 index 00000000..0d915340 Binary files /dev/null and b/blueprints/gitea-mirror/gitea-mirror.png differ diff --git a/blueprints/gitea-mirror/template.toml b/blueprints/gitea-mirror/template.toml new file mode 100644 index 00000000..39d6c01f --- /dev/null +++ b/blueprints/gitea-mirror/template.toml @@ -0,0 +1,13 @@ +[variables] +main_domain = "${domain}" + +[config] +mounts = [] + +[[config.domains]] +serviceName = "gitea-mirror" +port = 4_321 +host = "${main_domain}" + +[config.env] +JWT_SECRET = "${base64:64}" \ No newline at end of file diff --git a/meta.json b/meta.json index a65b02ef..b981c3c4 100644 --- a/meta.json +++ b/meta.json @@ -638,6 +638,19 @@ }, "tags": ["self-hosted", "storage"] }, + { + "id": "gitea-mirror", + "name": "Gitea Mirror", + "version": "v2.11.2", + "description": "Gitea Mirror is a modern web app for automatically mirroring repositories from GitHub to your self-hosted Gitea instance. It features a user-friendly interface to sync public, private, or starred GitHub repos, mirror entire organizations with structure preservation, and optionally mirror issues and labels. The application includes smart filtering, detailed logs, and scheduled automatic mirroring.", + "logo": "gitea-mirror.png", + "links": { + "github": "https://github.com/arunavo4/gitea-mirror", + "website": "https://github.com/arunavo4/gitea-mirror", + "docs": "https://github.com/arunavo4/gitea-mirror#readme" + }, + "tags": ["git", "mirror", "github", "gitea", "self-hosted", "automation"] + }, { "id": "roundcube", "name": "Roundcube",