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} - 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