mirror of
https://github.com/bitnami/containers.git
synced 2026-10-17 16:07:12 +02:00
[bitnami/couchdb] Release 3.5.2-debian-12-r4 (#93735)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith"
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2026-05-21T01:28:31Z" \
|
||||
org.opencontainers.image.created="2026-05-22T09:17:10Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/couchdb/README.md" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/couchdb" \
|
||||
@@ -51,7 +51,7 @@ COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/couchdb/postunpack.sh
|
||||
ENV APP_VERSION="3.5.2" \
|
||||
BITNAMI_APP_NAME="couchdb" \
|
||||
IMAGE_REVISION="3" \
|
||||
IMAGE_REVISION="4" \
|
||||
LD_LIBRARY_PATH="/opt/bitnami/common/lib:$LD_LIBRARY_PATH" \
|
||||
PATH="/opt/bitnami/common/bin:/opt/bitnami/erlang/bin:/opt/bitnami/couchdb/bin:$PATH"
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ services:
|
||||
environment:
|
||||
- COUCHDB_USER=admin
|
||||
- COUCHDB_PASSWORD=couchdb
|
||||
- COUCHDB_SECRET=bitnami
|
||||
ports:
|
||||
- '5984:5984'
|
||||
- '4369:4369'
|
||||
|
||||
@@ -78,8 +78,8 @@ export COUCHDB_BIND_ADDRESS="${COUCHDB_BIND_ADDRESS:-}"
|
||||
export COUCHDB_CREATE_DATABASES="${COUCHDB_CREATE_DATABASES:-yes}"
|
||||
export COUCHDB_IGNORE_INITDB_SCRIPTS="${COUCHDB_IGNORE_INITDB_SCRIPTS:-no}"
|
||||
export COUCHDB_USER="${COUCHDB_USER:-admin}"
|
||||
export COUCHDB_PASSWORD="${COUCHDB_PASSWORD:-couchdb}"
|
||||
export COUCHDB_SECRET="${COUCHDB_SECRET:-bitnami}"
|
||||
export COUCHDB_PASSWORD="${COUCHDB_PASSWORD:-}"
|
||||
export COUCHDB_SECRET="${COUCHDB_SECRET:-}"
|
||||
export COUCHDB_ERLANG_HMAX="${COUCHDB_ERLANG_HMAX:-}"
|
||||
export COUCHDB_EXTRA_VM_ARGS="${COUCHDB_EXTRA_VM_ARGS:-}"
|
||||
export COUCHDB_INTERNODE_TLS_ENABLED="${COUCHDB_INTERNODE_TLS_ENABLED:-no}"
|
||||
|
||||
@@ -32,26 +32,30 @@ couchdb_validate() {
|
||||
error "$1"
|
||||
error_code=1
|
||||
}
|
||||
|
||||
check_empty_value() {
|
||||
if is_empty_value "${!1}"; then
|
||||
print_validation_error "The $1 environment variable is empty or not set."
|
||||
fi
|
||||
}
|
||||
check_password_file() {
|
||||
if ! is_empty_value "${!1:-}" && ! [[ -f "${!1:-}" ]]; then
|
||||
print_validation_error "The variable $1 is defined but the file ${!1} is not accessible or does not exist."
|
||||
fi
|
||||
}
|
||||
|
||||
# CouchDB secret files validations
|
||||
check_password_file COUCHDB_PASSWORD_FILE
|
||||
check_password_file COUCHDB_SECRET_FILE
|
||||
|
||||
# CouchDB authentication validations
|
||||
if is_boolean_yes "${ALLOW_ANONYMOUS_LOGIN:-}"; then
|
||||
print_validation_error "The usage of 'ALLOW_ANONYMOUS_LOGIN' is deprecated. Please, specify a password for the admin user '${COUCHDB_USER}' by setting the 'COUCHDB_PASSWORD' environment variable."
|
||||
elif ! is_empty_value "${ALLOW_ANONYMOUS_LOGIN:-}"; then
|
||||
warn "The usage of 'ALLOW_ANONYMOUS_LOGIN' is deprecated. It won't be taken into account."
|
||||
fi
|
||||
check_empty_value COUCHDB_PASSWORD
|
||||
check_password_file COUCHDB_PASSWORD_FILE
|
||||
if [[ "$COUCHDB_PASSWORD" = "couchdb" ]]; then
|
||||
warn "You set the environment variable COUCHDB_PASSWORD=couchdb. This is the default value when bootstrapping CouchDB and should not be used in production environments."
|
||||
fi
|
||||
check_empty_value COUCHDB_SECRET
|
||||
check_password_file COUCHDB_SECRET_FILE
|
||||
|
||||
# CouchDB port validations
|
||||
for p in COUCHDB_PORT_NUMBER COUCHDB_CLUSTER_PORT_NUMBER; do
|
||||
|
||||
@@ -85,8 +85,8 @@ The following tables list the main variables you can set.
|
||||
| `COUCHDB_CREATE_DATABASES` | Whether to create CouchDB system databases during initialization. Useful for clustering. | `yes` |
|
||||
| `COUCHDB_IGNORE_INITDB_SCRIPTS` | Skip execution of init scripts from COUCHDB_INITSCRIPTS_DIR. Set to yes on non-primary cluster nodes. | `no` |
|
||||
| `COUCHDB_USER` | CouchDB admin username. | `admin` |
|
||||
| `COUCHDB_PASSWORD` | Password for the CouchDB admin user. | `couchdb` |
|
||||
| `COUCHDB_SECRET` | CouchDB secret/token used for proxy and cookie authentication. | `bitnami` |
|
||||
| `COUCHDB_PASSWORD` | Password for the CouchDB admin user. | `nil` |
|
||||
| `COUCHDB_SECRET` | CouchDB secret/token used for proxy and cookie authentication. | `nil` |
|
||||
| `COUCHDB_ERLANG_HMAX` | Per-process Erlang heap cap in bytes. Used to compute +hmax (value / 8 = word count). | `nil` |
|
||||
| `COUCHDB_EXTRA_VM_ARGS` | Additional Erlang VM arguments appended to vm.args. | `nil` |
|
||||
| `COUCHDB_INTERNODE_TLS_ENABLED` | Enable TLS encryption for the Erlang distribution protocol (inter-node communication). | `no` |
|
||||
|
||||
@@ -7,6 +7,7 @@ services:
|
||||
environment:
|
||||
- COUCHDB_USER=admin
|
||||
- COUCHDB_PASSWORD=couchdb
|
||||
- COUCHDB_SECRET=bitnami
|
||||
ports:
|
||||
- '5984:5984'
|
||||
- '4369:4369'
|
||||
|
||||
Reference in New Issue
Block a user