From 24576d9e10561806921974e484a86a9b6ccbefbe Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Mon, 15 Jan 2024 20:23:45 +0100 Subject: [PATCH] [bitnami/mongodb-sharded] Release 7.0.5-debian-11-r3 (#54794) Signed-off-by: Bitnami Containers --- .../mongodb-sharded/7.0/debian-11/Dockerfile | 4 +- bitnami/mongodb-sharded/README.md | 102 +++++++++--------- 2 files changed, 53 insertions(+), 53 deletions(-) diff --git a/bitnami/mongodb-sharded/7.0/debian-11/Dockerfile b/bitnami/mongodb-sharded/7.0/debian-11/Dockerfile index 7c709d5d8d17..4bcd63ba7851 100644 --- a/bitnami/mongodb-sharded/7.0/debian-11/Dockerfile +++ b/bitnami/mongodb-sharded/7.0/debian-11/Dockerfile @@ -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="2024-01-15T16:24:13Z" \ + org.opencontainers.image.created="2024-01-15T18:49:12Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="7.0.5-debian-11-r2" \ + org.opencontainers.image.ref.name="7.0.5-debian-11-r3" \ org.opencontainers.image.title="mongodb-sharded" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="7.0.5" diff --git a/bitnami/mongodb-sharded/README.md b/bitnami/mongodb-sharded/README.md index 0a113137bfa1..135918b4f65c 100644 --- a/bitnami/mongodb-sharded/README.md +++ b/bitnami/mongodb-sharded/README.md @@ -112,60 +112,60 @@ services: #### Customizable environment variables -| Name | Description | Default Value | -|-----------------------------------------|-----------------------------------------------------------------------------------------------|-------------------------------------| -| `$MONGODB_DISABLE_SERVICE` | Whether to disable the MongoDB service by default. | `no` | -| `$MONGODB_MOUNTED_CONF_DIR` | Directory for including custom configuration files (that override the default generated ones) | `${MONGODB_VOLUME_DIR}/conf` | -| `$MONGODB_INIT_RETRY_ATTEMPTS` | Maximum retries for checking the service initialization status | `7` | -| `$MONGODB_INIT_RETRY_DELAY` | Time (in seconds) to wait between retries for checking the service initialization status | `5` | -| `$MONGODB_PORT_NUMBER` | MongoDB port | `$MONGODB_DEFAULT_PORT_NUMBER` | -| `$MONGODB_ENABLE_MAJORITY_READ` | Enable majority read in MongoDB operations | `true` | -| `$MONGODB_DEFAULT_ENABLE_MAJORITY_READ` | Enable majority read in MongoDB operations set at build time | `true` | -| `$MONGODB_ENABLE_NUMACTL` | Execute commands using numactl | `false` | -| `$MONGODB_ADVERTISE_IP` | Whether advertised hostname is set to container ip | `false` | -| `$MONGODB_DISABLE_JAVASCRIPT` | Disable MongoDB server-side javascript execution | `no` | -| `$MONGODB_ROOT_USER` | User name for the MongoDB root user | `root` | -| `$ALLOW_EMPTY_PASSWORD` | Permit accessing MongoDB without setting any password | `no` | -| `$MONGODB_REPLICA_SET_NAME` | Name of the MongoDB replica set | `$MONGODB_DEFAULT_REPLICA_SET_NAME` | -| `$MONGODB_INITIAL_PRIMARY_PORT_NUMBER` | Port of the replica set primary node (necessary for arbiter and secondary nodes) | `27017` | -| `$MONGODB_INITIAL_PRIMARY_ROOT_USER` | Primary node root username (necessary for arbiter and secondary nodes) | `root` | -| `$MONGODB_SET_SECONDARY_OK` | Mark node as readable. Necessary for cases where the PVC is lost | `no` | -| `$MONGODB_CFG_PRIMARY_PORT_NUMBER` | MongoDB config server primary host port. Mandatory for shardsvr mode | `27017` | -| `$MONGODB_MONGOS_PORT_NUMBER` | MongoDB mongos port. Mandatory for shardsvr mode | `27017` | +| Name | Description | Default Value | +|----------------------------------------|-----------------------------------------------------------------------------------------------|-------------------------------------| +| `MONGODB_DISABLE_SERVICE` | Whether to disable the MongoDB service by default. | `no` | +| `MONGODB_MOUNTED_CONF_DIR` | Directory for including custom configuration files (that override the default generated ones) | `${MONGODB_VOLUME_DIR}/conf` | +| `MONGODB_INIT_RETRY_ATTEMPTS` | Maximum retries for checking the service initialization status | `7` | +| `MONGODB_INIT_RETRY_DELAY` | Time (in seconds) to wait between retries for checking the service initialization status | `5` | +| `MONGODB_PORT_NUMBER` | MongoDB port | `$MONGODB_DEFAULT_PORT_NUMBER` | +| `MONGODB_ENABLE_MAJORITY_READ` | Enable majority read in MongoDB operations | `true` | +| `MONGODB_DEFAULT_ENABLE_MAJORITY_READ` | Enable majority read in MongoDB operations set at build time | `true` | +| `MONGODB_ENABLE_NUMACTL` | Execute commands using numactl | `false` | +| `MONGODB_ADVERTISE_IP` | Whether advertised hostname is set to container ip | `false` | +| `MONGODB_DISABLE_JAVASCRIPT` | Disable MongoDB server-side javascript execution | `no` | +| `MONGODB_ROOT_USER` | User name for the MongoDB root user | `root` | +| `ALLOW_EMPTY_PASSWORD` | Permit accessing MongoDB without setting any password | `no` | +| `MONGODB_REPLICA_SET_NAME` | Name of the MongoDB replica set | `$MONGODB_DEFAULT_REPLICA_SET_NAME` | +| `MONGODB_INITIAL_PRIMARY_PORT_NUMBER` | Port of the replica set primary node (necessary for arbiter and secondary nodes) | `27017` | +| `MONGODB_INITIAL_PRIMARY_ROOT_USER` | Primary node root username (necessary for arbiter and secondary nodes) | `root` | +| `MONGODB_SET_SECONDARY_OK` | Mark node as readable. Necessary for cases where the PVC is lost | `no` | +| `MONGODB_CFG_PRIMARY_PORT_NUMBER` | MongoDB config server primary host port. Mandatory for shardsvr mode | `27017` | +| `MONGODB_MONGOS_PORT_NUMBER` | MongoDB mongos port. Mandatory for shardsvr mode | `27017` | #### Read-only environment variables -| Name | Description | Value | -|--------------------------------------------|------------------------------------------------------------------------|-------------------------------------------| -| `$MONGODB_VOLUME_DIR` | Persistence base directory | `$BITNAMI_VOLUME_DIR/mongodb` | -| `$MONGODB_BASE_DIR` | MongoDB installation directory | `$BITNAMI_ROOT_DIR/mongodb` | -| `$MONGODB_CONF_DIR` | MongoDB configuration directory | `$MONGODB_BASE_DIR/conf` | -| `$MONGODB_LOG_DIR` | MongoDB logs directory | `$MONGODB_BASE_DIR/logs` | -| `$MONGODB_DATA_DIR` | MongoDB data directory | `${MONGODB_VOLUME_DIR}/data` | -| `$MONGODB_TMP_DIR` | MongoDB temporary directory | `$MONGODB_BASE_DIR/tmp` | -| `$MONGODB_BIN_DIR` | MongoDB executables directory | `$MONGODB_BASE_DIR/bin` | -| `$MONGODB_TEMPLATES_DIR` | Directory where the mongodb.conf template file is stored | `$MONGODB_BASE_DIR/templates` | -| `$MONGODB_MONGOD_TEMPLATES_FILE` | Path to the mongodb.conf template file | `$MONGODB_TEMPLATES_DIR/mongodb.conf.tpl` | -| `$MONGODB_CONF_FILE` | Path to MongoDB configuration file | `$MONGODB_CONF_DIR/mongodb.conf` | -| `$MONGODB_KEY_FILE` | Path to the MongoDB replica set keyfile | `$MONGODB_CONF_DIR/keyfile` | -| `$MONGODB_DB_SHELL_FILE` | Path to MongoDB dbshell file | `/.dbshell` | -| `$MONGODB_RC_FILE` | Path to MongoDB rc file | `/.mongorc.js` | -| `$MONGOSH_DIR` | Path to mongosh directory | `/.mongodb` | -| `$MONGOSH_RC_FILE` | Path to mongosh rc file | `/.mongoshrc.js` | -| `$MONGODB_PID_FILE` | Path to the MongoDB PID file | `$MONGODB_TMP_DIR/mongodb.pid` | -| `$MONGODB_LOG_FILE` | Path to the MongoDB log file | `$MONGODB_LOG_DIR/mongodb.log` | -| `$MONGODB_INITSCRIPTS_DIR` | Path to the MongoDB container init scripts directory | `/docker-entrypoint-initdb.d` | -| `$MONGODB_DAEMON_USER` | MongoDB system user | `mongo` | -| `$MONGODB_DAEMON_GROUP` | MongoDB system group | `mongo` | -| `$MONGODB_DEFAULT_PORT_NUMBER` | MongoDB port set at build time | `27017` | -| `$MONGODB_DEFAULT_ENABLE_JOURNAL` | Enable MongoDB journal at build time | `true` | -| `$MONGODB_DEFAULT_DISABLE_SYSTEM_LOG` | Disable MongoDB daemon system log set at build time | `false` | -| `$MONGODB_DEFAULT_ENABLE_DIRECTORY_PER_DB` | Use a separate folder for storing each database data set at build time | `false` | -| `$MONGODB_DEFAULT_ENABLE_IPV6` | Use IPv6 for database connections set at build time | `false` | -| `$MONGODB_DEFAULT_SYSTEM_LOG_VERBOSITY` | MongoDB daemon log level set at build time | `0` | -| `$MONGODB_DEFAULT_REPLICA_SET_NAME` | Name of the MongoDB replica set at build time | `replicaset` | -| `$MONGODB_MONGOS_TEMPLATES_FILE` | Path to MongoDB Sharded template file | `$MONGODB_TEMPLATES_DIR/mongos.conf.tpl` | -| `$MONGODB_MONGOS_CONF_FILE` | MongoDB mongos configuration file. Used by mongos node | `$MONGODB_CONF_DIR/mongos.conf` | +| Name | Description | Value | +|-------------------------------------------|------------------------------------------------------------------------|-------------------------------------------| +| `MONGODB_VOLUME_DIR` | Persistence base directory | `$BITNAMI_VOLUME_DIR/mongodb` | +| `MONGODB_BASE_DIR` | MongoDB installation directory | `$BITNAMI_ROOT_DIR/mongodb` | +| `MONGODB_CONF_DIR` | MongoDB configuration directory | `$MONGODB_BASE_DIR/conf` | +| `MONGODB_LOG_DIR` | MongoDB logs directory | `$MONGODB_BASE_DIR/logs` | +| `MONGODB_DATA_DIR` | MongoDB data directory | `${MONGODB_VOLUME_DIR}/data` | +| `MONGODB_TMP_DIR` | MongoDB temporary directory | `$MONGODB_BASE_DIR/tmp` | +| `MONGODB_BIN_DIR` | MongoDB executables directory | `$MONGODB_BASE_DIR/bin` | +| `MONGODB_TEMPLATES_DIR` | Directory where the mongodb.conf template file is stored | `$MONGODB_BASE_DIR/templates` | +| `MONGODB_MONGOD_TEMPLATES_FILE` | Path to the mongodb.conf template file | `$MONGODB_TEMPLATES_DIR/mongodb.conf.tpl` | +| `MONGODB_CONF_FILE` | Path to MongoDB configuration file | `$MONGODB_CONF_DIR/mongodb.conf` | +| `MONGODB_KEY_FILE` | Path to the MongoDB replica set keyfile | `$MONGODB_CONF_DIR/keyfile` | +| `MONGODB_DB_SHELL_FILE` | Path to MongoDB dbshell file | `/.dbshell` | +| `MONGODB_RC_FILE` | Path to MongoDB rc file | `/.mongorc.js` | +| `MONGOSH_DIR` | Path to mongosh directory | `/.mongodb` | +| `MONGOSH_RC_FILE` | Path to mongosh rc file | `/.mongoshrc.js` | +| `MONGODB_PID_FILE` | Path to the MongoDB PID file | `$MONGODB_TMP_DIR/mongodb.pid` | +| `MONGODB_LOG_FILE` | Path to the MongoDB log file | `$MONGODB_LOG_DIR/mongodb.log` | +| `MONGODB_INITSCRIPTS_DIR` | Path to the MongoDB container init scripts directory | `/docker-entrypoint-initdb.d` | +| `MONGODB_DAEMON_USER` | MongoDB system user | `mongo` | +| `MONGODB_DAEMON_GROUP` | MongoDB system group | `mongo` | +| `MONGODB_DEFAULT_PORT_NUMBER` | MongoDB port set at build time | `27017` | +| `MONGODB_DEFAULT_ENABLE_JOURNAL` | Enable MongoDB journal at build time | `true` | +| `MONGODB_DEFAULT_DISABLE_SYSTEM_LOG` | Disable MongoDB daemon system log set at build time | `false` | +| `MONGODB_DEFAULT_ENABLE_DIRECTORY_PER_DB` | Use a separate folder for storing each database data set at build time | `false` | +| `MONGODB_DEFAULT_ENABLE_IPV6` | Use IPv6 for database connections set at build time | `false` | +| `MONGODB_DEFAULT_SYSTEM_LOG_VERBOSITY` | MongoDB daemon log level set at build time | `0` | +| `MONGODB_DEFAULT_REPLICA_SET_NAME` | Name of the MongoDB replica set at build time | `replicaset` | +| `MONGODB_MONGOS_TEMPLATES_FILE` | Path to MongoDB Sharded template file | `$MONGODB_TEMPLATES_DIR/mongos.conf.tpl` | +| `MONGODB_MONGOS_CONF_FILE` | MongoDB mongos configuration file. Used by mongos node | `$MONGODB_CONF_DIR/mongos.conf` | ### Setting up a sharded cluster