mirror of
https://github.com/dominikhoebert/docker-projects.git
synced 2025-07-21 20:47:05 +00:00
33 lines
724 B
YAML
33 lines
724 B
YAML
|
#
|
||
|
|
||
|
# https://github.com/garethgeorge/backrest
|
||
|
|
||
|
name: backrest
|
||
|
|
||
|
services:
|
||
|
backrest:
|
||
|
image: garethgeorge/backrest:latest
|
||
|
container_name: backrest
|
||
|
volumes:
|
||
|
- ./backrest/data:/data
|
||
|
- ./backrest/config:/config
|
||
|
- ./backrest/cache:/cache
|
||
|
- ./backrest/tmp:/tmp
|
||
|
- ./backup/data:/userdata # Mount local paths to backup
|
||
|
- ./repos:/repos # Mount local repos (optional for remote storage)
|
||
|
environment:
|
||
|
- BACKREST_DATA=/data
|
||
|
- BACKREST_CONFIG=/config/config.json
|
||
|
- XDG_CACHE_HOME=/cache
|
||
|
- TMPDIR=/tmp
|
||
|
- TZ=Europe/Vienna
|
||
|
ports:
|
||
|
- "9898:9898"
|
||
|
restart: unless-stopped
|
||
|
networks:
|
||
|
- proxy
|
||
|
|
||
|
networks:
|
||
|
proxy:
|
||
|
external: true
|
||
|
|