Files
homelab-docker-stacks/backrest/compose.yaml
T

34 lines
802 B
YAML

name: backrest
services:
backrest:
image: ghcr.io/garethgeorge/backrest:v1
container_name: backrest
volumes:
- /srv/data/backrest/data:/data
- /srv/data/backrest/config:/config
- /srv/data/backrest/rclone:/root/.config/rclone
- /srv/data/backrest/repos:/repos
- /srv/fast/backrest/cache:/cache
- /mnt/toshiba:/mnt/toshiba
- /srv:/mnt/srv
environment:
BACKREST_DATA: /data
BACKREST_CONFIG: /config/config.json
XDG_CACHE_HOME: /cache
TMPDIR: /tmp
TZ: Asia/Shanghai
networks:
- proxy
restart: unless-stopped
deploy:
resources:
limits:
cpus: "3.0"
memory: 3G
reservations:
cpus: "1.0"
memory: 512M
networks:
proxy:
external: true