mirror of
https://github.com/Dokploy/templates.git
synced 2026-04-28 19:18:31 -05:00
feat(blueprint): added gitea-mirror template (#157)
* Add gitea-mirror template - Add docker-compose.yml with gitea-mirror service configuration - Add template.toml with domain and environment variable setup - Include logo image (gitea-mirror.png) - Template supports automatic GitHub to Gitea repository mirroring - Configurable through environment variables or web UI * Updated meta.json
This commit is contained in:
21
blueprints/gitea-mirror/docker-compose.yml
Normal file
21
blueprints/gitea-mirror/docker-compose.yml
Normal file
@@ -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:
|
||||
BIN
blueprints/gitea-mirror/gitea-mirror.png
Normal file
BIN
blueprints/gitea-mirror/gitea-mirror.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
13
blueprints/gitea-mirror/template.toml
Normal file
13
blueprints/gitea-mirror/template.toml
Normal file
@@ -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}"
|
||||
13
meta.json
13
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",
|
||||
|
||||
Reference in New Issue
Block a user