[bitnami/couchdb] Release 3.3.3-debian-11-r2 (#54954)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2024-01-19 20:01:48 +01:00
committed by GitHub
parent 2f0d71da34
commit ac5a9eddb6
4 changed files with 40 additions and 25 deletions
+5 -4
View File
@@ -7,10 +7,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2023-12-24T09:48:48Z" \
org.opencontainers.image.created="2024-01-19T17:39:43Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="3.3.3-debian-11-r1" \
org.opencontainers.image.ref.name="3.3.3-debian-11-r2" \
org.opencontainers.image.title="couchdb" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="3.3.3"
@@ -26,8 +26,8 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
RUN install_packages ca-certificates curl libgcc-s1 libicu67 libssl1.1 libstdc++6 libtinfo6 procps zlib1g
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
COMPONENTS=( \
"wait-for-port-1.0.7-4-linux-${OS_ARCH}-debian-11" \
"ini-file-1.4.6-4-linux-${OS_ARCH}-debian-11" \
"wait-for-port-1.0.7-5-linux-${OS_ARCH}-debian-11" \
"ini-file-1.4.6-5-linux-${OS_ARCH}-debian-11" \
"erlang-25.3.2-8-0-linux-${OS_ARCH}-debian-11" \
"couchdb-3.3.3-0-linux-${OS_ARCH}-debian-11" \
) ; \
@@ -43,6 +43,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \
RUN apt-get update && apt-get upgrade -y && \
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
RUN chmod g+rwX /opt/bitnami
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
COPY rootfs /
RUN /opt/bitnami/scripts/couchdb/postunpack.sh
@@ -15,12 +15,12 @@
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "1.4.6-4"
"version": "1.4.6-5"
},
"wait-for-port": {
"arch": "amd64",
"distro": "debian-11",
"type": "NAMI",
"version": "1.0.7-4"
"version": "1.0.7-5"
}
}
@@ -10,7 +10,7 @@ fi
script=$1
exit_code="${2:-96}"
fail_if_not_present="${3:-y}"
fail_if_not_present="${3:-n}"
if test -f "$script"; then
sh $script
+32 -18
View File
@@ -13,13 +13,6 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema
docker run --name couchdb bitnami/couchdb:latest
```
### Docker Compose
```console
curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/couchdb/docker-compose.yml > docker-compose.yml
docker-compose up -d
```
## Why use Bitnami Images?
* Bitnami closely tracks upstream source changes and promptly publishes new versions of this image using our automated systems.
@@ -117,18 +110,33 @@ We can launch another containers using the same flag (`--network NETWORK`) in th
## Configuration
The configuration can easily be setup in the Bitnami CouchDB Docker image by using the following environment variables:
### Environment variables
* `COUCHDB_NODENAME`: A server alias for clustering support. Default: **couchdb@127.0.0.1**
* `COUCHDB_PORT_NUMBER`: Standard port for all HTTP API requests. Default: **5984**
* `COUCHDB_CLUSTER_PORT_NUMBER`: Port for cluster communication. Default: **9100**
* `COUCHDB_BIND_ADDRESS`: Address binding for the standard port. Default: **0.0.0.0**
* `COUCHDB_CREATE_DATABASES`: If set to yes, during the first initialization of the container the system databases will be created. Default: **yes**
* `COUCHDB_USER`: The username of the administrator user when authentication is enabled. Default: **admin**
* `COUCHDB_PASSWORD`: The password to use for login with the admin user set in the `COUCHDB_USER` environment variable. Default: **couchdb**
* `COUCHDB_PASSWORD_FILE`: Path to a file that contains the password for the custom user set in the `COUCHDB_USER` environment variable. This will override the value specified in `COUCHDB_PASSWORD`. No defaults.
* `COUCHDB_SECRET`: The secret token for Proxy and Cookie Authentication. If it is not specified, it will be randomly generated. No defaults.
* `COUCHDB_SECRET_FILE`: Path to a file that contains the contents of the secret parameter for CouchDB. This will override the value specified in `COUCHDB_SECRET`. No defaults.
#### Customizable environment variables
| Name | Description | Default Value |
|----------------------------|------------------------------------------------------------------------------------------|---------------|
| `COUCHDB_CREATE_DATABASES` | Whether to create CouchDB system databases during initialization. Useful for clustering. | `yes` |
| `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` |
#### Read-only environment variables
| Name | Description | Value |
|------------------------|-----------------------------------------------------|------------------------------------------------|
| `COUCHDB_BASE_DIR` | CouchDB installation directory. | `${BITNAMI_ROOT_DIR}/couchdb` |
| `COUCHDB_VOLUME_DIR` | CouchDB persistence directory. | `/bitnami/couchdb` |
| `COUCHDB_BIN_DIR` | CouchDB directory for binary executables. | `${COUCHDB_BASE_DIR}/bin` |
| `COUCHDB_CONF_DIR` | CouchDB configuration directory. | `${COUCHDB_BASE_DIR}/etc` |
| `COUCHDB_CONF_FILE` | CouchDB configuration file. | `${COUCHDB_CONF_DIR}/default.d/10-bitnami.ini` |
| `COUCHDB_DATA_DIR` | CouchDB directory where data is stored. | `${COUCHDB_VOLUME_DIR}/data` |
| `COUCHDB_LOGS_DIR` | Directory where CouchDB logs are stored. | `${COUCHDB_BASE_DIR}/var/log` |
| `COUCHDB_LOG_FILE` | CouchDB log file. | `${COUCHDB_LOGS_DIR}/couch.log` |
| `COUCHDB_TMP_DIR` | Directory where CouchDB temporary files are stored. | `${COUCHDB_BASE_DIR}/var/run` |
| `COUCHDB_PID_FILE` | Path to the PID file for CouchDB. | `${COUCHDB_TMP_DIR}/couchdb.pid` |
| `COUCHDB_DAEMON_USER` | CouchDB system user. | `couchdb` |
| `COUCHDB_DAEMON_GROUP` | CouchDB system group. | `couchdb` |
You can specify these environment variables in the `docker run` command:
@@ -317,6 +325,12 @@ docker run --name couchdb bitnami/couchdb:latest
* The usage of 'ALLOW_ANONYMOUS_LOGIN' is now deprecated. Please, specify a password for the admin user (defaults to "admin") by setting the 'COUCHDB_PASSWORD' environment variable.
## Using `docker-compose.yaml`
Please be aware this file has not undergone internal testing. Consequently, we advise its use exclusively for development or testing purposes. For production-ready deployments, we highly recommend utilizing its associated [Bitnami Helm chart](https://github.com/bitnami/charts/tree/main/bitnami/couchdb).
If you detect any issue in the `docker-compose.yaml` file, feel free to report it or contribute with a fix by following our [Contributing Guidelines](https://github.com/bitnami/containers/blob/main/CONTRIBUTING.md).
## Contributing
We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues) or submitting a [pull request](https://github.com/bitnami/containers/pulls) with your contribution.