mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-09 16:05:23 +02:00
* 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
22 lines
549 B
YAML
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:
|