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 image: theorangeone/git-mirror:latest
restart: unless-stopped restart: unless-stopped
volumes: volumes:
- ./repositories.toml:/app/repositories.toml - ./repositories.toml:/app/repositories.toml:ro
- /scratch/git-mirror:/app/repos
environment: environment:
- GITHUB_TOKEN={{ gitea.git_mirror_github_token }} - GITHUB_TOKEN={{ gitea.git_mirror_github_token }}
depends_on: depends_on: