b0t-at-public

smtpx/smtpx-backup (latest)

Published 2026-04-25 15:37:31 +02:00 by service-user

Installation

docker pull git.b0t.at/b0t-at-public/smtpx/smtpx-backup:latest
sha256:4457c732a8dd906a7e5be12369d16c1ea6949d6b1becf0ace78e94763d156dd0

Images

Digest OS / Arch Size
0ad3477511 linux/amd64 26 MiB

Image Layers ( linux/amd64)

ADD alpine-minirootfs-3.20.10-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
LABEL org.opencontainers.image.title=SMTPX backup companion org.opencontainers.image.description=Scheduled pg_dump + mail-storage + ACME backup runner for SMTPX org.opencontainers.image.source=https://github.com/Utesgui/smtpx org.opencontainers.image.licenses=MIT OR Apache-2.0 org.opencontainers.image.vendor=SMTPX project
ARG MC_VERSION=RELEASE.2025-08-13T08-35-41Z
RUN |1 MC_VERSION=RELEASE.2025-08-13T08-35-41Z /bin/sh -c set -eux; apk add --no-cache bash ca-certificates coreutils curl findutils gnupg postgresql15-client rsync tini tzdata; curl -fsSL "https://dl.min.io/client/mc/release/linux-amd64/archive/mc.${MC_VERSION}" -o /usr/local/bin/mc; chmod 0755 /usr/local/bin/mc; /usr/local/bin/mc --version >/dev/null # buildkit
COPY docker/backup-supervisor.sh /usr/local/bin/backup-supervisor.sh # buildkit
COPY docker/backup-healthcheck.sh /usr/local/bin/backup-healthcheck.sh # buildkit
RUN |1 MC_VERSION=RELEASE.2025-08-13T08-35-41Z /bin/sh -c chmod 0755 /usr/local/bin/backup-supervisor.sh /usr/local/bin/backup-healthcheck.sh # buildkit
RUN |1 MC_VERSION=RELEASE.2025-08-13T08-35-41Z /bin/sh -c addgroup -g 65532 -S smtpx && adduser -u 65532 -S -G smtpx smtpx && mkdir -p /backups /opt/smtpx/scripts && chown -R smtpx:smtpx /backups /opt/smtpx # buildkit
USER smtpx
WORKDIR /opt/smtpx
ENV BACKUP_INTERVAL=86400 BACKUP_RETENTION_DAYS=14 BACKUP_SCRIPTS_DIR=/opt/smtpx/scripts BACKUP_OUT_DIR=/backups PATH=/usr/local/bin:/usr/bin:/bin
HEALTHCHECK &{["CMD" "/usr/local/bin/backup-healthcheck.sh"] "1h0m0s" "10s" "5m0s" "0s" '\x02'}
ENTRYPOINT ["/sbin/tini" "--" "/usr/local/bin/backup-supervisor.sh"]

Labels

Key Value
org.opencontainers.image.description Scheduled pg_dump + mail-storage + ACME backup runner for SMTPX
org.opencontainers.image.licenses MIT OR Apache-2.0
org.opencontainers.image.source https://github.com/Utesgui/smtpx
org.opencontainers.image.title SMTPX backup companion
org.opencontainers.image.vendor SMTPX project
Details
Container
2026-04-25 15:37:31 +02:00
3
OCI / Docker
Versions (2) View all
latest 2026-04-25
buildcache 2026-04-24