Add healthcheck

This commit is contained in:
Andras Schmelczer 2025-04-12 12:27:38 +01:00
parent 2f5d9b3ee2
commit 7d51230630
5 changed files with 34 additions and 3 deletions

View file

@ -21,7 +21,10 @@ services:
- KEEP_DAILY=6 # default: 6
- KEEP_WEEKLY=3 # default: 3
- KEEP_MONTHLY=48 # default: 48
- KEEP_YEARLY=10 # default: 0 (!)
- KEEP_YEARLY=10 # default: 10
# Used for determining the health of the container
- MAX_BACKUP_AGE_SECONDS=86400 # default: 86400 (1d)
volumes:
- /volumes:/source:ro # we backup this folder (which is a BTRFS volume), we mustn't change it, so it's readonly
- /volumes/backup:/snapshot # we must mount a path to a folder on the BTRFS disk for the snapshot to be put at, this is just a temporary path