Merge pull request #18 from alwynpan/1.16.1

Fix couchdb backup endpoint; Set ENABLE_ZABBIX to FALSE by default
This commit is contained in:
Dave Conroy
2019-10-01 18:22:55 -07:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -8,7 +8,8 @@ COPY --from=mongo-packages / /usr/src/apk
### Set Environment Variables
ENV ENABLE_CRON=FALSE \
ENABLE_SMTP=FALSE
ENABLE_SMTP=FALSE \
ENABLE_ZABBIX=FALSE
### Dependencies
RUN set -ex && \

View File

@@ -97,7 +97,7 @@ fi
### Functions
function backup_couch() {
TARGET=couch_${DBNAME}_${DBHOST}_${now}.txt
curl -X GET http://${DBHOST}:${DBPORT}/${DBNAME}/ all docs? include docs=true >${TMPDIR}/${TARGET}
curl -X GET http://${DBHOST}:${DBPORT}/${DBNAME}/_all_docs?include_docs=true >${TMPDIR}/${TARGET}
generate_md5
compression
move_backup