3 Commits
3 changed files with 87 additions and 0 deletions
+35
View File
@@ -68,3 +68,38 @@ updates:
interval: "weekly"
labels:
- "nextcloud"
#mealie
- package-ecosystem: "docker-compose"
directory: "/projects/mealie"
schedule:
interval: "weekly"
labels:
- "mealie"
#rclone
- package-ecosystem: "docker-compose"
directory: "/projects/rclone"
schedule:
interval: "weekly"
labels:
- "rclone"
#bentopdf
- package-ecosystem: "docker-compose"
directory: "/projects/bentopdf"
schedule:
interval: "weekly"
labels:
- "bentopdf"
#gitea
- package-ecosystem: "docker-compose"
directory: "/projects/gitea"
schedule:
interval: "weekly"
labels:
- "gitea"
#gitea-mirror
- package-ecosystem: "docker-compose"
directory: "/projects/gitea-mirror"
schedule:
interval: "weekly"
labels:
- "gitea-mirror"
+28
View File
@@ -0,0 +1,28 @@
# [gitea-mirror](https://docs.gitea.com/usage/repository/repo-mirror/)
## gitea-mirror
### General
- Compose Path: `./projects/gitea-mirror/docker-compose.yml`
### Environment
- BETTER_AUTH_SECRET: #your secret, which is automatically generated by the gitea-mirror template
- BETTER_AUTH_URL: #your gitea-mirror domain - for example `https://giteamirror.example.com`
### Domains
- Service Name: `gitea-mirror`
- Container Port: `4321`
- HTTPS: `true`
- Certificate Provider: `Let's Encrypt`
### Volume Backups
- Task Name: `gitea-mirror`
- Schedule `0 0 * * *`
- Service Name: `gitea-mirror`
- Volume: `giteamirror-giteamirror-xxx`
- Keep Latest Backups: `7`
- Enabled: `true`
+24
View File
@@ -0,0 +1,24 @@
services:
gitea-mirror:
image: ghcr.io/raylabshq/gitea-mirror:v3.28.0
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: 15s
environment:
# Absolutely required - cannot be changed via UI
- BETTER_AUTH_SECRET=${BETTER_AUTH_SECRET}
- BETTER_AUTH_URL=${BETTER_AUTH_URL}
# Core settings with defaults
- NODE_ENV=production
- DATABASE_URL=file:data/gitea-mirror.db
- HOST=0.0.0.0
- PORT=4321
volumes:
- gitea_mirror_data:/app/data
volumes:
gitea_mirror_data: