feat: add backrest
This commit is contained in:
1 parent
ced2abf2d3
commit
0ea9a3e892
1 file changed
+32
@@ -0,0 +1,32 @@
|
|||||||
|
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:ro
|
||||||
|
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
|
||||||
Reference in new issue
Block a user