adds resticprofile backup service to compose.yml

This commit is contained in:
2025-06-05 21:02:50 +01:00
parent d404a0097f
commit 062195867a
48 changed files with 132 additions and 38 deletions

16
resticprofile/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM docker.io/creativeprojects/resticprofile:latest
ENV TZ=UTC
RUN set -eux && \
apk update && \
apk add sqlite && \
mkdir -p /app/var/backups
WORKDIR /etc/resticprofile
COPY . .
RUN chmod +x db_dump.sh entrypoint.sh && \
resticprofile schedule --all
ENTRYPOINT ["/etc/resticprofile/entrypoint.sh"]
CMD ["crond", "-f", "-l", "2"]