feat: Add Dockerfile for borgmatic and update configuration in borgmatic.yml

This commit is contained in:
2026-02-14 14:53:30 +03:30
parent 5651579d08
commit 1fdb0a2f4a
2 changed files with 18 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
FROM python:3.13-alpine
ENV PIP_DISABLE_PIP_VERSION_CHECK=1 \
PIP_NO_CACHE_DIR=1
# Install borgbackup, Postgres 18 client, and basic utilities.
RUN apk add --no-cache \
borgbackup \
openssh-client \
postgresql-client=18.* \
tzdata \
ca-certificates \
libffi \
&& pip install borgmatic

View File

@@ -1,7 +1,10 @@
--- ---
services: services:
borgmatic: borgmatic:
image: ghcr.io/borgmatic-collective/borgmatic:latest build:
context: ..
dockerfile: backup/Dockerfile.borgmatic
image: local/borgmatic-pg18:latest
container_name: borgmatic container_name: borgmatic
restart: unless-stopped restart: unless-stopped
environment: environment: