mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
feat: add backrest
This commit is contained in:
22
blueprints/backrest/docker-compose.yml
Normal file
22
blueprints/backrest/docker-compose.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
backrest:
|
||||
image: garethgeorge/backrest:v1.7.3
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "9898:9898"
|
||||
environment:
|
||||
- BACKREST_PORT=9898
|
||||
- BACKREST_DATA=/data # where it stores current state data
|
||||
- BACKREST_CONFIG=/config/config.json # where it stores backup configurations
|
||||
- XDG_CACHE_HOME=/cache # backup cache
|
||||
- TZ=${TZ}
|
||||
volumes:
|
||||
- backrest/data:/data
|
||||
- backrest/config:/config
|
||||
- backrest-cache:/cache # to preserve backup cache between restarts
|
||||
- /:/userdata:ro # we mount /mnt/data to /userdata (that we want to backup)
|
||||
|
||||
volumes:
|
||||
- backrest: {}
|
||||
- backrest-cache: {}
|
||||
Reference in New Issue
Block a user