feat: backup cron
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user