Skip to content

Commit b354005

Browse files
author
Rub21
committed
Add azure storage support to store DB backups
1 parent 1b2b747 commit b354005

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

compose/db-backup-restore.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,3 @@ services:
1919
- ../envs/.env.db
2020
- ../envs/.env.db-utils
2121
- ../envs/.env.cloudprovider
22-
depends_on:
23-
- db

compose/full-history.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@ services:
1919
- ../envs/.env.db
2020
- ../envs/.env.db-utils
2121
- ../envs/.env.cloudprovider
22-
depends_on:
23-
- db
22+

compose/planet-dump.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,4 @@ services:
2727
- ../envs/.env.db
2828
- ../envs/.env.db-utils
2929
- ../envs/.env.cloudprovider
30-
depends_on:
31-
- db
30+

compose/replication.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@ services:
2121
- ../envs/.env.db
2222
- ../envs/.env.db-utils
2323
- ../envs/.env.cloudprovider
24-
depends_on:
25-
- db
24+

images/backup-restore/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@ RUN apt-get install -y \
44
curl \
55
postgresql-client
66

7-
# Install AWS and GCP cli
7+
# Install AWS CLI
88
RUN pip install awscli
9+
10+
# Install GCP CLI
911
RUN curl -sSL https://sdk.cloud.google.com | bash
1012
RUN ln -f -s /root/google-cloud-sdk/bin/gsutil /usr/bin/gsutil
1113

14+
# Install Azure CLI
15+
RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash
16+
1217
VOLUME /mnt/data
1318
COPY ./start.sh /
1419
CMD /start.sh

0 commit comments

Comments
 (0)