mirror of
https://github.com/technorabilia/docker-bits
synced 2024-11-18 15:25:41 +00:00
30 lines
1.0 KiB
YAML
30 lines
1.0 KiB
YAML
# [Rsnapshot](http://www.rsnapshot.org/) is a filesystem snapshot utility based
|
|
# on rsync. rsnapshot makes it easy to make periodic snapshots of local
|
|
# machines, and remote machines over ssh. The code makes extensive use of hard
|
|
# links whenever possible, to greatly reduce the disk space required.'
|
|
|
|
---
|
|
version: "2.1"
|
|
services:
|
|
rsnapshot:
|
|
image: ghcr.io/linuxserver/rsnapshot
|
|
container_name: rsnapshot
|
|
environment:
|
|
# for UserID
|
|
- PUID=${PUID:-1024}
|
|
# for GroupID
|
|
- PGID=${PGID:-100}
|
|
# Specify a timezone to use for example Europe/Amsterdam
|
|
- TZ=${TZ:-Europe/Amsterdam}
|
|
volumes:
|
|
# Contains all relevant configuration files.
|
|
- ${BASEDIR:-/volume1/docker}/rsnapshot/config:/config
|
|
# Storage location for all snapshots.
|
|
- ${BASEDIR:-/volume1/docker}/rsnapshot/.snapshots:/.snapshots # optional
|
|
# Storage location for data to be backed up.
|
|
- ${BASEDIR:-/volume1/docker}/rsnapshot/data:/data # optional
|
|
ports:
|
|
# Application WebUI
|
|
- 80:80
|
|
restart: unless-stopped
|