2019-09-10 23:10:18 +00:00
|
|
|
FROM sutty/monit:latest
|
|
|
|
MAINTAINER "f <f@sutty.nl>"
|
2019-09-11 00:15:08 +00:00
|
|
|
|
|
|
|
ENV BORG_HOST_ID borg
|
|
|
|
ENV BORG_PASSPHRASE ""
|
|
|
|
ENV KEEP 30
|
|
|
|
|
|
|
|
COPY ./monit.conf /etc/monit.d/borg.conf
|
|
|
|
COPY ./backup.sh /usr/local/bin/backup
|
|
|
|
|
|
|
|
RUN apk add --no-cache borgbackup
|
|
|
|
|
|
|
|
VOLUME /srv/data
|
|
|
|
VOLUME /srv/backups
|