Persist mirror caches outside container
This commit is contained in:
parent
c771e425fb
commit
7a3643f3c2
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue