feat: backup cron
CI / 🧪 Tests Laravel (push) Successful in 2m8s
CI / 🐳 Build & Push Image (push) Successful in 35s

This commit is contained in:
2026-08-13 14:20:28 +02:00
parent fd59e627cc
commit 334d94e712
8 changed files with 756 additions and 44 deletions
+15
View File
@@ -0,0 +1,15 @@
ARG POSTGRES_IMAGE=postgres:15-alpine
FROM ${POSTGRES_IMAGE}
RUN apk add --no-cache aws-cli tzdata
COPY backup-cron-entrypoint /usr/local/bin/backup-cron-entrypoint
COPY backup-database /usr/local/bin/backup-database
COPY restore-database /usr/local/bin/restore-database
RUN chmod 0755 \
/usr/local/bin/backup-cron-entrypoint \
/usr/local/bin/backup-database \
/usr/local/bin/restore-database
ENTRYPOINT ["/usr/local/bin/backup-cron-entrypoint"]