Persist mirror caches outside container

This commit is contained in:
Jake Howard 2020-06-24 18:21:14 +01:00
parent c771e425fb
commit 7a3643f3c2
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -49,7 +49,8 @@ services:
image: theorangeone/git-mirror:latest
restart: unless-stopped
volumes:
- ./repositories.toml:/app/repositories.toml
- ./repositories.toml:/app/repositories.toml:ro
- /scratch/git-mirror:/app/repos
environment:
- GITHUB_TOKEN={{ gitea.git_mirror_github_token }}
depends_on: