feat: Add Dockerfile for borgmatic and update configuration in borgmatic.yml
This commit is contained in:
14
backup/Dockerfile.borgmatic
Normal file
14
backup/Dockerfile.borgmatic
Normal 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
|
||||
@@ -1,7 +1,10 @@
|
||||
---
|
||||
services:
|
||||
borgmatic:
|
||||
image: ghcr.io/borgmatic-collective/borgmatic:latest
|
||||
build:
|
||||
context: ..
|
||||
dockerfile: backup/Dockerfile.borgmatic
|
||||
image: local/borgmatic-pg18:latest
|
||||
container_name: borgmatic
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user