diff --git a/bitnami/mariadb-galera/12.2/debian-12/Dockerfile b/bitnami/mariadb-galera/12.2/debian-12/Dockerfile index a0f7194cad21..5ea1e5459761 100644 --- a/bitnami/mariadb-galera/12.2/debian-12/Dockerfile +++ b/bitnami/mariadb-galera/12.2/debian-12/Dockerfile @@ -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-04-08T19:43:56Z" \ + org.opencontainers.image.created="2026-05-08T20:03:19Z" \ org.opencontainers.image.description="Application packaged by Broadcom, Inc." \ org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/mariadb-galera/README.md" \ org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/mariadb-galera" \ @@ -28,7 +28,7 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \ DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \ mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \ COMPONENTS=( \ - "ini-file-1.4.9-9-linux-${OS_ARCH}-debian-12" \ + "ini-file-1.4.9-10-linux-${OS_ARCH}-debian-12" \ "mariadb-galera-12.2.2-1-linux-${OS_ARCH}-debian-12" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ @@ -51,7 +51,7 @@ COPY rootfs / RUN /opt/bitnami/scripts/mariadb-galera/postunpack.sh ENV APP_VERSION="12.2.2" \ BITNAMI_APP_NAME="mariadb-galera" \ - IMAGE_REVISION="4" \ + IMAGE_REVISION="5" \ PATH="/opt/bitnami/common/bin:/opt/bitnami/mariadb/bin:/opt/bitnami/mariadb/sbin:/opt/bitnami/common/sbin:$PATH" EXPOSE 3306 4444 4567 4568 diff --git a/bitnami/mariadb-galera/12.2/debian-12/rootfs/opt/bitnami/scripts/libmariadbgalera.sh b/bitnami/mariadb-galera/12.2/debian-12/rootfs/opt/bitnami/scripts/libmariadbgalera.sh index 84e870ea63a4..2cc900f45f8e 100644 --- a/bitnami/mariadb-galera/12.2/debian-12/rootfs/opt/bitnami/scripts/libmariadbgalera.sh +++ b/bitnami/mariadb-galera/12.2/debian-12/rootfs/opt/bitnami/scripts/libmariadbgalera.sh @@ -163,6 +163,10 @@ datadir=${DB_DATA_DIR} [client] port=${DB_DEFAULT_PORT_NUMBER} socket=${DB_SOCKET_FILE} + +[mysql] +port=${DB_DEFAULT_PORT_NUMBER} +socket=${DB_SOCKET_FILE} default_character_set=${DB_DEFAULT_CHARACTER_SET} plugin_dir=${DB_BASE_DIR}/lib/plugin @@ -863,6 +867,10 @@ log_bin=mysql-bin [client] port=${DB_DEFAULT_PORT_NUMBER} socket=${DB_SOCKET_FILE} + +[mysql] +port=${DB_DEFAULT_PORT_NUMBER} +socket=${DB_SOCKET_FILE} default_character_set=${DB_DEFAULT_CHARACTER_SET} plugin_dir=${DB_BASE_DIR}/plugin diff --git a/bitnami/mariadb-galera/README.md b/bitnami/mariadb-galera/README.md index c46d6152b10d..63358c0e472b 100644 --- a/bitnami/mariadb-galera/README.md +++ b/bitnami/mariadb-galera/README.md @@ -13,7 +13,13 @@ docker run --name mariadb \ bitnami/mariadb-galera:latest ``` -**Warning**: These quick setups are only intended for development environments. You are encouraged to change the insecure default credentials and check out the available configuration options in the [Configuration](#configuration) section for a more secure deployment. +## Using `docker-compose.yml` + +The docker-compose.yaml file of this container can be found in the [Bitnami Containers repository](https://github.com/bitnami/containers/). + +[https://github.com/bitnami/containers/tree/main/bitnami/mariadb-galera/docker-compose.yml](https://github.com/bitnami/containers/tree/main/bitnami/mariadb-galera/docker-compose.yml) + +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/mariadb-galera). ## Why use Bitnami Secure Images? @@ -50,10 +56,6 @@ Learn more about the Bitnami tagging policy and the difference between rolling t The Bitnami MariaDB Galera Docker image is only available to [Bitnami Secure Images](https://bitnami.com) customers. -## 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/mariadb-galera). - ## Persisting your database If you remove the container all your data will be lost, and the next time you run the image the database will be reinitialized. To avoid this loss of data, you should mount a volume that will persist even after the container is removed. @@ -292,21 +294,7 @@ FROM bitnami/mariadb-galera ## Logging -The Bitnami MariaDB Galera Docker image sends the container logs to `stdout`. To view the logs: - -```console -docker logs mariadb -``` - -or using Docker Compose: - -```console -docker-compose logs mariadb -``` - -To increase the verbosity on initialization or add extra debug information, you can assign the `BITNAMI_DEBUG` environment variable to `true`. - -You can configure the containers [logging driver](https://docs.docker.com/engine/admin/logging/overview/) using the `--log-driver` option if you wish to consume the container logs differently. In the default configuration docker uses the `json-file` driver. +The Bitnami MariaDB Galera Docker image sends the container logs to the `stdout`. You can configure the containers [logging driver](https://docs.docker.com/engine/admin/logging/overview/) using the `--log-driver` option if you wish to consume the container logs differently. In the default configuration docker uses the `json-file` driver. ## Useful Links