Compare commits

...

2 Commits

Author SHA1 Message Date
mr-vercetti
e1c25b02d3 Add beszel and dozzle 2025-02-21 23:02:57 +01:00
mr-vercetti
ae6e105534 Replace duplicati with backrest 2025-02-21 23:02:23 +01:00
3 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,26 @@
services:
backrest:
image: garethgeorge/backrest
container_name: backrest
networks:
- backrest
ports:
- 9898:9898
volumes:
- ${APPS_DIR}/backrest/data:/data
- ${APPS_DIR}/backrest/config:/config
- ${APPS_DIR}/backrest/cache:/cache
- /apps:/userdata/docker # [optional] mount local paths to backup here.
- ${DATA_DIR}/nextcloud-data:/userdata/nextcloud
- ${DATA_DIR}/backup/hustler:/repos/hustler # [optional] mount repos if using local storage, not necessary for remotes e.g. B2, S3, etc.
- /var/run/docker.sock:/var/run/docker.sock:ro # [optional] if you want to manage containers before/after backup
environment:
- BACKREST_DATA=/data # path for backrest data. restic binary and the database are placed here.
- BACKREST_CONFIG=/config/config.json # path for the backrest config file.
- XDG_CACHE_HOME=/cache # path for the restic cache which greatly improves performance.
- TZ=${TIMEZONE} # set the timezone for the container, used as the timezone for cron jobs.
restart: unless-stopped
networks:
backrest:
name: backrest

View File

@ -51,8 +51,10 @@ services:
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /mnt/parity/.beszel:/extra-filesystems/sdc1:ro
- /mnt/parity1/.beszel:/extra-filesystems/sdd1:ro
- /mnt/disk1/.beszel:/extra-filesystems/sdb1:ro
- /mnt/disk2/.beszel:/extra-filesystems/sda1:ro
- /mnt/disk3/.beszel:/extra-filesystems/sdc1:ro
environment:
- PORT=45876
# Do not remove quotes around the key