Install git-mirror container

This also moves the canonical home of this repo to my gitea instance!
This commit is contained in:
Jake Howard
2020-06-24 16:27:13 +01:00
parent 5f9b337c7a
commit 82a3c85263
4 changed files with 31 additions and 1 deletions

View File

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

View File

@ -0,0 +1,3 @@
[[repository]]
source = "https://git.theorangeone.net/r/infrastructure"
destination = "https://$GITHUB_TOKEN@github.com/RealOrangeOne/infrastructure"