This commit is contained in:
parent
0007bde4a4
commit
5620ff718e
|
@ -1 +1 @@
|
||||||
gitea_backups
|
gitea-backups/
|
||||||
|
|
|
@ -24,6 +24,8 @@ services:
|
||||||
environment:
|
environment:
|
||||||
BACKUP_FILENAME: backup-%y-%m-%dT%H-%M-%S.tar.gz
|
BACKUP_FILENAME: backup-%y-%m-%dT%H-%M-%S.tar.gz
|
||||||
BACKUP_LATEST_SYMLINK: backup-latest.tar.gz
|
BACKUP_LATEST_SYMLINK: backup-latest.tar.gz
|
||||||
|
BACKUP_CRON_EXPRESSION: "0 */12 * * *"
|
||||||
|
BACKUP_RETENTION_DAYS: 7
|
||||||
volumes:
|
volumes:
|
||||||
- gitea:/backup/my-app-backup:ro
|
- gitea:/backup/my-app-backup:ro
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
|
Loading…
Reference in New Issue