mirror of
https://github.com/TerrifiedBug/komodo-stacks.git
synced 2026-11-11 14:37:27 +01:00
Repository: admin/gitea-github-sync Timestamp: 2025-04-21_12-38-01 Target directory: projects/gitea-github-sync
33 lines
774 B
YAML
33 lines
774 B
YAML
version: '3'
|
|
|
|
services:
|
|
# Core sync container
|
|
gitea-github-sync:
|
|
image: terrifiedbug/gitea-github-sync:latest
|
|
container_name: gitea-github-sync
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
environment:
|
|
# Required configuration
|
|
- GITEA_URL=${GITEA_URL}
|
|
- GITEA_TOKEN=${GITEA_TOKEN}
|
|
- GITHUB_REPO=${GITHUB_REPO}
|
|
- GITHUB_TOKEN=${GITHUB_TOKEN}
|
|
# Optional configuration
|
|
- MONOREPO_SUBDIR=${MONOREPO_SUBDIR}
|
|
- SYNC_INTERVAL=${SYNC_INTERVAL}
|
|
- IGNORE_REPOS=${IGNORE_REPOS}
|
|
- DEFAULT_BRANCH=${DEFAULT_BRANCH}
|
|
- TZ=${TZ}
|
|
volumes:
|
|
- gitea_sync_data:/app/cache
|
|
networks:
|
|
- gitea_sync_network
|
|
|
|
volumes:
|
|
gitea_sync_data:
|
|
|
|
networks:
|
|
gitea_sync_network:
|
|
driver: bridge |