File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -17,17 +17,16 @@ COPY backup.sh /usr/local/bin/
17
17
RUN chmod +x /usr/local/bin/backup.sh
18
18
19
19
# Set environment variables with defaults (can be overridden)
20
- ENV MONGODB_HOST="localhost" \
21
- MONGODB_PORT="27017" \
22
- MONGODB_USERNAME="" \
23
- MONGODB_PASSWORD="" \
24
- MONGODB_AUTH_DB="admin" \
25
- S3_BUCKET="" \
26
- S3_PREFIX="mongodb-backups" \
27
- AWS_ACCESS_KEY_ID="" \
28
- AWS_SECRET_ACCESS_KEY="" \
29
- AWS_DEFAULT_REGION="us-east-1" \
30
- BACKUP_RETENTION_DAYS="30"
20
+ ENV MONGODB_HOST="localhost"
21
+ ENV MONGODB_PORT="27017"
22
+ ENV MONGODB_USERNAME=""
23
+ ENV MONGODB_PASSWORD=""
24
+ ENV MONGODB_AUTH_DB="admin"
25
+ ENV S3_BUCKET=""
26
+ ENV S3_PREFIX="mongodb-backups"
27
+ ENV AWS_ACCESS_KEY_ID=""
28
+ ENV AWS_SECRET_ACCESS_KEY=""
29
+ ENV AWS_DEFAULT_REGION="us-east-1"
31
30
32
31
# Set working directory
33
32
WORKDIR /backup
You can’t perform that action at this time.
0 commit comments