Skip to content

Commit 33c9425

Browse files
authored
Merge pull request #18 from alwynpan/1.16.1
Fix couchdb backup endpoint; Set ENABLE_ZABBIX to FALSE by default
2 parents aa1c8b3 + 36e4d9a commit 33c9425

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ COPY --from=mongo-packages / /usr/src/apk
88

99
### Set Environment Variables
1010
ENV ENABLE_CRON=FALSE \
11-
ENABLE_SMTP=FALSE
11+
ENABLE_SMTP=FALSE \
12+
ENABLE_ZABBIX=FALSE
1213

1314
### Dependencies
1415
RUN set -ex && \

install/etc/s6/services/10-db-backup/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ fi
9797
### Functions
9898
function backup_couch() {
9999
TARGET=couch_${DBNAME}_${DBHOST}_${now}.txt
100-
curl -X GET http://${DBHOST}:${DBPORT}/${DBNAME}/ all docs? include docs=true >${TMPDIR}/${TARGET}
100+
curl -X GET http://${DBHOST}:${DBPORT}/${DBNAME}/_all_docs?include_docs=true >${TMPDIR}/${TARGET}
101101
generate_md5
102102
compression
103103
move_backup

0 commit comments

Comments
 (0)