gh
This commit is contained in:
parent
d3a72d4e77
commit
32c162945e
1 changed files with 56 additions and 0 deletions
56
backrest.yaml
Normal file
56
backrest.yaml
Normal file
|
|
@ -0,0 +1,56 @@
|
||||||
|
services:
|
||||||
|
backrest:
|
||||||
|
image: garethgeorge/backrest:latest
|
||||||
|
container_name: backrest
|
||||||
|
hostname: backrest
|
||||||
|
user: "1001:998"
|
||||||
|
environment:
|
||||||
|
- PUID=1001
|
||||||
|
- PGID=998
|
||||||
|
- TZ=America/Chicago
|
||||||
|
- BACKREST_DATA=/data
|
||||||
|
- BACKREST_CONFIG=/config/config.json
|
||||||
|
- XDG_CACHE_HOME=/cache
|
||||||
|
- TMPDIR=/tmp
|
||||||
|
volumes:
|
||||||
|
- /DockerVol/restic/data:/data
|
||||||
|
- /DockerVol/restic/config:/config
|
||||||
|
- /DockerVol/restic/cache:/cache
|
||||||
|
- /DockerVol/restic/tmp:/tmp
|
||||||
|
# - ./backrest/rclone:/root/.config/rclone # Mount for rclone config (needed when using rclone remotes)
|
||||||
|
- /srv/a18f546e-e9bf-4a8d-8b9d-02e7ec32b632/restic:/userdata
|
||||||
|
# - /path/to/local/repos:/repos # Optional local repos
|
||||||
|
ports:
|
||||||
|
- "9898:9898"
|
||||||
|
networks:
|
||||||
|
- netgrimoire
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.hostname == nas
|
||||||
|
labels:
|
||||||
|
# Homepage integration
|
||||||
|
- homepage.group=Management
|
||||||
|
- homepage.name=Backrest
|
||||||
|
- homepage.icon=mdi:backup-restore
|
||||||
|
- homepage.href=https://backrest.netgrimoire.com
|
||||||
|
- homepage.description=Backrest backup management
|
||||||
|
|
||||||
|
# Kuma monitoring
|
||||||
|
- kuma.backrest.http.name=Backrest
|
||||||
|
- kuma.backrest.http.url=http://backrest:9898
|
||||||
|
|
||||||
|
# Caddy reverse proxy (optional)
|
||||||
|
- caddy=backrest.netgrimoire.com
|
||||||
|
- caddy.import=authentik
|
||||||
|
- caddy.reverse_proxy={{upstreams 9898}}
|
||||||
|
|
||||||
|
# Diun (update monitoring)
|
||||||
|
- diun.enable=true
|
||||||
|
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
networks:
|
||||||
|
netgrimoire:
|
||||||
|
external: true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue