mirror of
https://github.com/cupcakearmy/gitea-sync.git
synced 2025-03-13 22:37:34 +00:00
Bumps [axios](https://github.com/axios/axios) from 1.3.4 to 1.6.0. - [Release notes](https://github.com/axios/axios/releases) - [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md) - [Commits](https://github.com/axios/axios/compare/v1.3.4...v1.6.0) --- updated-dependencies: - dependency-name: axios dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Backup GitHub repos to Gitea
Simple docker image that syncs your GitHub repos to a given Gitea server. It takes all the repos (public and private) and sets up a mirror. Private repos will stay a private mirror. Repos that are already set up will be skipped.
Quick Start
Create a docker-compose.yaml
and .env
(see .env.sample
). Create and insert tokens, and you are ready to go.
version: '3.8'
services:
sync:
image: cupcakearmy/gitea-sync:1
restart: unless-stopped
env_file: .env
Configuration
# Github PAT (deprecated)
# or
# Fine Grained token (Metadata and Content read-only scopes required)
GITHUB_TOKEN=
# Host of the Gitea server
GITEA_HOST=
# Gitea token (scopes: repo)
GITEA_TOKEN=
# OPTIONAL
# Cron schedule
CRON="0 */2 * * *"
Known limitations
- Issues, PR, etc. can be imported, but not for a mirror
Description
Languages
TypeScript
97.9%
Dockerfile
2.1%