diff --git a/bitnami/mongodb/7.0/debian-11/Dockerfile b/bitnami/mongodb/7.0/debian-11/Dockerfile index 7a2e0e1ca435..b4a57cac44a7 100644 --- a/bitnami/mongodb/7.0/debian-11/Dockerfile +++ b/bitnami/mongodb/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:22:37Z" \ + org.opencontainers.image.created="2024-01-15T18:49:54Z" \ 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" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="7.0.5" diff --git a/bitnami/mongodb/README.md b/bitnami/mongodb/README.md index a13b530fc31e..61098d1b446a 100644 --- a/bitnami/mongodb/README.md +++ b/bitnami/mongodb/README.md @@ -173,56 +173,56 @@ docker-compose up -d #### 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` | +| 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` | #### 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` | +| 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` | ### Initializing a new instance