Sync gitea-github-sync from Gitea to monorepo

Repository: admin/gitea-github-sync
Timestamp: 2025-04-19_23-12-57
Target directory: projects/gitea-github-sync
This commit is contained in:
Gitea Sync Bot committed 2025-04-19 23:13:00 +01:00
1 parent 515d8555ee
commit 4026efda26
3 files changed
+37

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
.venv/
__pycache__/
*.pyc
.DS_Store
.vscode/
+3
View File
@@ -0,0 +1,3 @@
# gitea-gitlab-sync
This is the gitea-gitlab-sync repository. Update this README with relevant project details.
+29
View File
@@ -0,0 +1,29 @@
version: '3'
services:
gitea-github-sync:
image: terrifiedbug/gitea-github-sync:latest
container_name: gitea-github-sync-test
restart: unless-stopped
env_file:
- .env
environment:
# Required configuration
- GITEA_URL=${GITEA_URL} # Your internal Gitea URL
- GITEA_TOKEN=${GITEA_TOKEN} # Gitea token with read access
- GITHUB_REPO=${GITHUB_REPO} # GitHub monorepo (org/repo)
- GITHUB_TOKEN=${GITHUB_TOKEN} # GitHub token with write access
# Optional configuration
- MONOREPO_SUBDIR=${MONOREPO_SUBDIR} # Subdirectory for projects in monorepo
- SYNC_INTERVAL=${SYNC_INTERVAL} # Sync interval in seconds (1 hour)
- IGNORE_REPOS=${IGNORE_REPOS} # Repos to ignore (comma-separated)
#- SYNC_SPECIFIC_REPO=${SYNC_SPECIFIC_REPO} # To sync only one repo (uncomment if needed)
#- ONE_TIME_RUN=${ONE_TIME_RUN} # Run once and exit (uncomment if needed)
- DEFAULT_BRANCH=${DEFAULT_BRANCH} # Default branch name
- TZ=${TZ} # Timezone
volumes:
# Persist repository cache between container restarts
- gitea_sync_data:/app/cache
volumes:
gitea_sync_data: # Using a named volume instead of a bind mount