Install git-mirror
container
This also moves the canonical home of this repo to my gitea instance!
This commit is contained in:
@ -44,3 +44,13 @@ services:
|
||||
- POSTGRES_DB=gitea
|
||||
- BACKUP_KEEP_MONTHS=1
|
||||
- BACKUP_KEEP_WEEKS=1
|
||||
|
||||
git-mirror:
|
||||
image: theorangeone/git-mirror:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./repositories.toml:/app/repositories.toml
|
||||
environment:
|
||||
- GITHUB_TOKEN={{ gitea.git_mirror_github_token }}
|
||||
depends_on:
|
||||
- gitea
|
||||
|
@ -0,0 +1,3 @@
|
||||
[[repository]]
|
||||
source = "https://git.theorangeone.net/r/infrastructure"
|
||||
destination = "https://$GITHUB_TOKEN@github.com/RealOrangeOne/infrastructure"
|
Reference in New Issue
Block a user