فهرست منبع

52.0.0

This release adds support for the latest message broker and database technologies required for Magento 2.4.8, optimizes container health checks, and fixes OpenSearch issues on Linux.

Additional details in CHANGELOG
Mark Shust 1 ماه پیش
والد
کامیت
c9027d5085

+ 6 - 6
.github/workflows/build-rabbitmq-3-8.yml → .github/workflows/build-rabbitmq-4-1.yml

@@ -1,9 +1,9 @@
-name: build-rabbitmq-3-8
+name: build-rabbitmq-4-1
 
 on: workflow_dispatch
 
 jobs:
-  rabbitmq-3-9:
+  rabbitmq-4-1:
     runs-on: ubuntu-latest
     steps:
       -
@@ -19,7 +19,7 @@ jobs:
         uses: docker/setup-buildx-action@v3
       -
         name: Login to DockerHub
-        uses: docker/login-action@v3 
+        uses: docker/login-action@v3
         with:
           username: ${{ secrets.DOCKERHUB_USERNAME }}
           password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -28,9 +28,9 @@ jobs:
         id: docker_build
         uses: docker/build-push-action@v6
         with:
-          context: images/rabbitmq/3.9
+          context: images/rabbitmq/4.1
           platforms: linux/amd64,linux/arm64
           push: true
           tags: |
-            markoshust/magento-rabbitmq:3.8
-            markoshust/magento-rabbitmq:3.8-0
+            markoshust/magento-rabbitmq:4.1
+            markoshust/magento-rabbitmq:4.1-0

+ 22 - 0
CHANGELOG.md

@@ -4,6 +4,28 @@ All notable changes to this project will be documented in this file.
 The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
 and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
 
+## [52.0.0] - 2025-04-18
+
+This release adds support for the latest message broker and database technologies required for Magento 2.4.8, optimizes container health checks, and fixes OpenSearch issues on Linux.
+
+### Added
+- Added support for Valkey 8.1 (Redis successor) for Magento 2.4.8 compatibility [PR #1327](https://github.com/markshust/docker-magento/pull/1327)
+- Added RabbitMQ 4.1 support for Magento 2.4.8 compatibility [PR #1326](https://github.com/markshust/docker-magento/pull/1326)
+- Added documentation for OpenSearch ARM64/Apple M-series compatibility workaround [PR #1316](https://github.com/markshust/docker-magento/issues/1316)
+
+### Updated
+- Updated MariaDB to version 11.4 [PR #1325](https://github.com/markshust/docker-magento/pull/1325)
+- Updated MySQL configuration for 8.4 compatibility [PR #1324](https://github.com/markshust/docker-magento/pull/1324)
+- Optimized container health checks with YAML anchors for consistency across services [PR #1330](https://github.com/markshust/docker-magento/pull/1330)
+- Added `log_bin_trust_function_creators=1` flag to both MariaDB and MySQL configurations [PR #1329](https://github.com/markshust/docker-magento/pull/1329)
+
+### Fixed
+- Fixed OpenSearch startup issues on Linux [PR #1316](https://github.com/markshust/docker-magento/issues/1316)
+- Fixed PHP 8.4 tag reference in README documentation [PR #1328](https://github.com/markshust/docker-magento/pull/1328)
+
+### Removed
+- Dropped support for RabbitMQ 3.8 [PR #1326](https://github.com/markshust/docker-magento/pull/1326)
+
 ## [51.0.0] - 2025-04-08
 
 This release provides full support for Magento 2.4.8 (released same day), includes multiple Docker image updates, fixes important bugs, and adds several new utilities for improved developer experience.

+ 13 - 2
README.md

@@ -36,7 +36,7 @@ View Dockerfiles for the latest tags:
   - [`8.1-fpm`, `8.1-fpm-7`](images/php/8.1)
   - [`8.2-fpm`, `8.2-fpm-6`](images/php/8.2)
   - [`8.3-fpm`, `8.3-fpm-4`](images/php/8.3)
-  - [`8.4-fpm-dev`](images/php/8.4)
+  - [`8.4-fpm`, `8.4-fpm-0`](images/php/8.4)
 - [markoshust/magento-opensearch (Docker Hub)](https://hub.docker.com/r/markoshust/magento-opensearch/)
   - [`1.2`, `1.2-0`](images/opensearch/1.2)
   - [`2.5`, `2.5-1`](images/opensearch/2.5)
@@ -50,10 +50,10 @@ View Dockerfiles for the latest tags:
   - [`8.11`, `8.11-0`](images/elasticsearch/8.11)
   - [`8.13`, `8.13-0`](images/elasticsearch/8.13)
 - [markoshust/magento-rabbitmq (Docker Hub)](https://hub.docker.com/r/markoshust/magento-rabbitmq/)
-  - [`3.8`, `3.8-0`](images/rabbitmq/3.8)
   - [`3.9`, `3.9-0`](images/rabbitmq/3.9)
   - [`3.11`, `3.11-1`](images/rabbitmq/3.11)
   - [`3.12`, `3.12-0`](images/rabbitmq/3.12)
+  - [`4.1`, `4.1-0`](images/rabbitmq/4.1)
 - [markoshust/ssh (Docker Hub)](https://hub.docker.com/r/markoshust/magento-ssh/)
   - [`latest`](images/ssh)
 
@@ -622,6 +622,17 @@ Add the following line to the `/etc/sysctl.conf` file on your host:
 vm.max_map_count=262144
 ```
 
+#### Opensearch Compatibility
+
+There is an issue with a compatibility patch for ARM64/Apple M-series chips.
+
+Commenting the #_JAVA_OPTIONS variable in the env/opensearch.env file is required to work around this.
+
+```
+# Compatibility with ARM64/Apple M-series chips
+#_JAVA_OPTIONS="-XX:UseSVE=0"
+```
+
 ### Blackfire.io
 
 These docker images have built-in support for Blackfire.io. To use it, first register your server ID and token with the Blackfire agent:

+ 17 - 16
compose/compose.healthcheck.yaml

@@ -1,7 +1,17 @@
+x-healthcheck-defaults: &healthcheck-defaults
+  interval: 5s
+  timeout: 5s
+  retries: 3
+
+x-healthcheck-slow-start: &healthcheck-slow-start
+  <<: *healthcheck-defaults
+  start_period: 5s
+
 services:
   app:
     healthcheck:
       test: "curl --fail 127.0.0.1:8000"
+      <<: *healthcheck-defaults
     depends_on:
       phpfpm:
         condition: service_started
@@ -21,39 +31,30 @@ services:
 
   db:
     healthcheck:
-      test: "mysqladmin ping -h localhost -u root -pmagento"
-      interval: 5s
-      timeout: 5s
-      retries: 30
+      test: "mysqladmin ping -h localhost -u root -pmagento || mariadb-admin ping -h localhost -u root -pmagento"
+      <<: *healthcheck-defaults
 
   redis:
     healthcheck:
       test: "redis-cli ping || exit 1"
-      interval: 5s
-      timeout: 5s
-      retries: 30
+      <<: *healthcheck-slow-start
 
   opensearch:
     healthcheck:
       test: "curl --fail opensearch:9200/_cat/health >/dev/null || exit 1"
-      interval: 5s
-      timeout: 5s
-      retries: 30
+      <<: *healthcheck-slow-start
 
   #elasticsearch:
   #  healthcheck:
   #    test: "curl --fail elasticsearch:9200/_cat/health >/dev/null || exit 1"
-  #    interval: 5s
-  #    timeout: 5s
-  #    retries: 30
+  #    <<: *healthcheck-slow-start
 
   rabbitmq:
     healthcheck:
       test: "rabbitmq-diagnostics -q ping"
-      interval: 5s
-      timeout: 5s
-      retries: 30
+      <<: *healthcheck-slow-start
 
   mailcatcher:
     healthcheck:
       test: "wget --no-verbose --tries=1 --spider 127.0.0.1:1080 || exit 1"
+      <<: *healthcheck-defaults

+ 14 - 7
compose/compose.yaml

@@ -1,7 +1,7 @@
 ## Mark Shust's Docker Configuration for Magento
 ## (https://github.com/markshust/docker-magento)
 ##
-## Version 51.0.0
+## Version 52.0.0
 
 ## To use SSH, see https://github.com/markshust/docker-magento#ssh
 ## Linux users, see https://github.com/markshust/docker-magento#linux
@@ -36,11 +36,12 @@ services:
     #extra_hosts: *appextrahosts
 
   db:
-    image: mariadb:10.6
+    image: mariadb:11.4
     command:
       --max_allowed_packet=64M
       --optimizer_use_condition_selectivity=1
       --optimizer_switch="rowid_filter=off"
+      --log_bin_trust_function_creators=1
     ports:
       - "3306:3306"
     env_file: env/db.env
@@ -50,11 +51,10 @@ services:
   ## If you wish to use MySQL, comment out the mariadb db image above and
   ## uncomment this block.
   #db:
-  #  image: mysql:8.0
+  #  image: mysql:8.4
   #  command:
   #    --max_allowed_packet=64M
-  #    --optimizer_use_condition_selectivity=1
-  #    --optimizer_switch="rowid_filter=off"
+  #    --log_bin_trust_function_creators=1
   #  ports:
   #    - "3306:3306"
   #  env_file: env/db.env
@@ -62,10 +62,17 @@ services:
   #    - dbdata:/var/lib/mysql
 
   redis:
-    image: redis:7.2-alpine
+    image: valkey/valkey:8.1-alpine
     ports:
       - "6379:6379"
 
+  ## If you wish to use Redis, comment out the redis image above and
+  ## uncomment this block.
+  #redis:
+  #  image: redis:7.2-alpine
+  #  ports:
+  #    - "6379:6379"
+
   opensearch:
     image: markoshust/magento-opensearch:2.12-0
     ports:
@@ -108,7 +115,7 @@ services:
   #    #- "xpack.security.enabled=false"
 
   rabbitmq:
-    image: markoshust/magento-rabbitmq:3.13-0
+    image: markoshust/magento-rabbitmq:4.1-0
     ports:
       - "15672:15672"
       - "5672:5672"

+ 1 - 1
images/rabbitmq/3.8/Dockerfile → images/rabbitmq/4.1/Dockerfile

@@ -1,3 +1,3 @@
-FROM rabbitmq:3.8-management-alpine
+FROM rabbitmq:4.1-management-alpine
 
 COPY conf/rabbitmq.conf /etc/rabbitmq/rabbitmq.conf

+ 0 - 0
images/rabbitmq/3.8/conf/rabbitmq.conf → images/rabbitmq/4.1/conf/rabbitmq.conf