Files
templates/blueprints/gitea-mirror/docker-compose.yml
ARUNAVO RAY 09b85f80c0 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
2025-06-01 14:50:51 -06:00

22 lines
549 B
YAML

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: