Add backup encryption and decryption with GPG

This commit is contained in:
2024-07-29 23:03:28 +02:00
parent a8fa58dacb
commit c277228ab3
10 changed files with 247 additions and 105 deletions

View File

@@ -33,7 +33,7 @@ LABEL authors="Jonas Kaninda"
RUN apt-get update -qq
RUN apt install postgresql-client postgresql-client-common supervisor cron openssh-client -y
RUN apt install postgresql-client postgresql-client-common supervisor cron openssh-client gnupg -y
# Clear cache
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
@@ -52,5 +52,5 @@ ADD docker/supervisord.conf /etc/supervisor/supervisord.conf
RUN mkdir /backup
RUN mkdir /tmp/pg-bkup
RUN mkdir /tmp/backup
WORKDIR /root