Files
komodo-stacks/projects/gitea-github-sync-dashboard/compose.yaml
T
Gitea Sync Bot d0abcfe69f Sync gitea-github-sync-dashboard from Gitea to monorepo
Repository: admin/gitea-github-sync-dashboard
Timestamp: 2025-04-22_17-06-42
Target directory: projects/gitea-github-sync-dashboard
2025-04-22 17:06:42 +01:00

56 lines
1.3 KiB
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
- gitea_sync_config:/app/config
networks:
- gitea_sync_network
# Dashboard
gitea-github-sync-dashboard:
image: terrifiedbug/gitea-github-sync-dashboard:latest
container_name: gitea-sync-dashboard
restart: unless-stopped
ports:
- "8066:5000"
environment:
- NODE_ENV=production
- PORT=5000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./dashboard/backend/logs:/app/logs
- gitea_sync_config:/app/config
- gitea_sync_data:/app/sync_data:ro
networks:
- gitea_sync_network
depends_on:
- gitea-github-sync
volumes:
gitea_sync_data:
gitea_sync_config:
networks:
gitea_sync_network:
driver: bridge