Skip to content

Commit c9027d5

Browse files
authored
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
1 parent 5c41a1c commit c9027d5

File tree

7 files changed

+73
-32
lines changed

7 files changed

+73
-32
lines changed

.github/workflows/build-rabbitmq-3-8.yml renamed to .github/workflows/build-rabbitmq-4-1.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: build-rabbitmq-3-8
1+
name: build-rabbitmq-4-1
22

33
on: workflow_dispatch
44

55
jobs:
6-
rabbitmq-3-9:
6+
rabbitmq-4-1:
77
runs-on: ubuntu-latest
88
steps:
99
-
@@ -19,7 +19,7 @@ jobs:
1919
uses: docker/setup-buildx-action@v3
2020
-
2121
name: Login to DockerHub
22-
uses: docker/login-action@v3
22+
uses: docker/login-action@v3
2323
with:
2424
username: ${{ secrets.DOCKERHUB_USERNAME }}
2525
password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -28,9 +28,9 @@ jobs:
2828
id: docker_build
2929
uses: docker/build-push-action@v6
3030
with:
31-
context: images/rabbitmq/3.9
31+
context: images/rabbitmq/4.1
3232
platforms: linux/amd64,linux/arm64
3333
push: true
3434
tags: |
35-
markoshust/magento-rabbitmq:3.8
36-
markoshust/magento-rabbitmq:3.8-0
35+
markoshust/magento-rabbitmq:4.1
36+
markoshust/magento-rabbitmq:4.1-0

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,28 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [52.0.0] - 2025-04-18
8+
9+
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.
10+
11+
### Added
12+
- Added support for Valkey 8.1 (Redis successor) for Magento 2.4.8 compatibility [PR #1327](https://github.com/markshust/docker-magento/pull/1327)
13+
- Added RabbitMQ 4.1 support for Magento 2.4.8 compatibility [PR #1326](https://github.com/markshust/docker-magento/pull/1326)
14+
- Added documentation for OpenSearch ARM64/Apple M-series compatibility workaround [PR #1316](https://github.com/markshust/docker-magento/issues/1316)
15+
16+
### Updated
17+
- Updated MariaDB to version 11.4 [PR #1325](https://github.com/markshust/docker-magento/pull/1325)
18+
- Updated MySQL configuration for 8.4 compatibility [PR #1324](https://github.com/markshust/docker-magento/pull/1324)
19+
- Optimized container health checks with YAML anchors for consistency across services [PR #1330](https://github.com/markshust/docker-magento/pull/1330)
20+
- Added `log_bin_trust_function_creators=1` flag to both MariaDB and MySQL configurations [PR #1329](https://github.com/markshust/docker-magento/pull/1329)
21+
22+
### Fixed
23+
- Fixed OpenSearch startup issues on Linux [PR #1316](https://github.com/markshust/docker-magento/issues/1316)
24+
- Fixed PHP 8.4 tag reference in README documentation [PR #1328](https://github.com/markshust/docker-magento/pull/1328)
25+
26+
### Removed
27+
- Dropped support for RabbitMQ 3.8 [PR #1326](https://github.com/markshust/docker-magento/pull/1326)
28+
729
## [51.0.0] - 2025-04-08
830

931
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.

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ View Dockerfiles for the latest tags:
3636
- [`8.1-fpm`, `8.1-fpm-7`](images/php/8.1)
3737
- [`8.2-fpm`, `8.2-fpm-6`](images/php/8.2)
3838
- [`8.3-fpm`, `8.3-fpm-4`](images/php/8.3)
39-
- [`8.4-fpm-dev`](images/php/8.4)
39+
- [`8.4-fpm`, `8.4-fpm-0`](images/php/8.4)
4040
- [markoshust/magento-opensearch (Docker Hub)](https://hub.docker.com/r/markoshust/magento-opensearch/)
4141
- [`1.2`, `1.2-0`](images/opensearch/1.2)
4242
- [`2.5`, `2.5-1`](images/opensearch/2.5)
@@ -50,10 +50,10 @@ View Dockerfiles for the latest tags:
5050
- [`8.11`, `8.11-0`](images/elasticsearch/8.11)
5151
- [`8.13`, `8.13-0`](images/elasticsearch/8.13)
5252
- [markoshust/magento-rabbitmq (Docker Hub)](https://hub.docker.com/r/markoshust/magento-rabbitmq/)
53-
- [`3.8`, `3.8-0`](images/rabbitmq/3.8)
5453
- [`3.9`, `3.9-0`](images/rabbitmq/3.9)
5554
- [`3.11`, `3.11-1`](images/rabbitmq/3.11)
5655
- [`3.12`, `3.12-0`](images/rabbitmq/3.12)
56+
- [`4.1`, `4.1-0`](images/rabbitmq/4.1)
5757
- [markoshust/ssh (Docker Hub)](https://hub.docker.com/r/markoshust/magento-ssh/)
5858
- [`latest`](images/ssh)
5959

@@ -622,6 +622,17 @@ Add the following line to the `/etc/sysctl.conf` file on your host:
622622
vm.max_map_count=262144
623623
```
624624
625+
#### Opensearch Compatibility
626+
627+
There is an issue with a compatibility patch for ARM64/Apple M-series chips.
628+
629+
Commenting the #_JAVA_OPTIONS variable in the env/opensearch.env file is required to work around this.
630+
631+
```
632+
# Compatibility with ARM64/Apple M-series chips
633+
#_JAVA_OPTIONS="-XX:UseSVE=0"
634+
```
635+
625636
### Blackfire.io
626637
627638
These docker images have built-in support for Blackfire.io. To use it, first register your server ID and token with the Blackfire agent:

compose/compose.healthcheck.yaml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1+
x-healthcheck-defaults: &healthcheck-defaults
2+
interval: 5s
3+
timeout: 5s
4+
retries: 3
5+
6+
x-healthcheck-slow-start: &healthcheck-slow-start
7+
<<: *healthcheck-defaults
8+
start_period: 5s
9+
110
services:
211
app:
312
healthcheck:
413
test: "curl --fail 127.0.0.1:8000"
14+
<<: *healthcheck-defaults
515
depends_on:
616
phpfpm:
717
condition: service_started
@@ -21,39 +31,30 @@ services:
2131

2232
db:
2333
healthcheck:
24-
test: "mysqladmin ping -h localhost -u root -pmagento"
25-
interval: 5s
26-
timeout: 5s
27-
retries: 30
34+
test: "mysqladmin ping -h localhost -u root -pmagento || mariadb-admin ping -h localhost -u root -pmagento"
35+
<<: *healthcheck-defaults
2836

2937
redis:
3038
healthcheck:
3139
test: "redis-cli ping || exit 1"
32-
interval: 5s
33-
timeout: 5s
34-
retries: 30
40+
<<: *healthcheck-slow-start
3541

3642
opensearch:
3743
healthcheck:
3844
test: "curl --fail opensearch:9200/_cat/health >/dev/null || exit 1"
39-
interval: 5s
40-
timeout: 5s
41-
retries: 30
45+
<<: *healthcheck-slow-start
4246

4347
#elasticsearch:
4448
# healthcheck:
4549
# test: "curl --fail elasticsearch:9200/_cat/health >/dev/null || exit 1"
46-
# interval: 5s
47-
# timeout: 5s
48-
# retries: 30
50+
# <<: *healthcheck-slow-start
4951

5052
rabbitmq:
5153
healthcheck:
5254
test: "rabbitmq-diagnostics -q ping"
53-
interval: 5s
54-
timeout: 5s
55-
retries: 30
55+
<<: *healthcheck-slow-start
5656

5757
mailcatcher:
5858
healthcheck:
5959
test: "wget --no-verbose --tries=1 --spider 127.0.0.1:1080 || exit 1"
60+
<<: *healthcheck-defaults

compose/compose.yaml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Mark Shust's Docker Configuration for Magento
22
## (https://github.com/markshust/docker-magento)
33
##
4-
## Version 51.0.0
4+
## Version 52.0.0
55

66
## To use SSH, see https://github.com/markshust/docker-magento#ssh
77
## Linux users, see https://github.com/markshust/docker-magento#linux
@@ -36,11 +36,12 @@ services:
3636
#extra_hosts: *appextrahosts
3737

3838
db:
39-
image: mariadb:10.6
39+
image: mariadb:11.4
4040
command:
4141
--max_allowed_packet=64M
4242
--optimizer_use_condition_selectivity=1
4343
--optimizer_switch="rowid_filter=off"
44+
--log_bin_trust_function_creators=1
4445
ports:
4546
- "3306:3306"
4647
env_file: env/db.env
@@ -50,22 +51,28 @@ services:
5051
## If you wish to use MySQL, comment out the mariadb db image above and
5152
## uncomment this block.
5253
#db:
53-
# image: mysql:8.0
54+
# image: mysql:8.4
5455
# command:
5556
# --max_allowed_packet=64M
56-
# --optimizer_use_condition_selectivity=1
57-
# --optimizer_switch="rowid_filter=off"
57+
# --log_bin_trust_function_creators=1
5858
# ports:
5959
# - "3306:3306"
6060
# env_file: env/db.env
6161
# volumes:
6262
# - dbdata:/var/lib/mysql
6363

6464
redis:
65-
image: redis:7.2-alpine
65+
image: valkey/valkey:8.1-alpine
6666
ports:
6767
- "6379:6379"
6868

69+
## If you wish to use Redis, comment out the redis image above and
70+
## uncomment this block.
71+
#redis:
72+
# image: redis:7.2-alpine
73+
# ports:
74+
# - "6379:6379"
75+
6976
opensearch:
7077
image: markoshust/magento-opensearch:2.12-0
7178
ports:
@@ -108,7 +115,7 @@ services:
108115
# #- "xpack.security.enabled=false"
109116

110117
rabbitmq:
111-
image: markoshust/magento-rabbitmq:3.13-0
118+
image: markoshust/magento-rabbitmq:4.1-0
112119
ports:
113120
- "15672:15672"
114121
- "5672:5672"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM rabbitmq:3.8-management-alpine
1+
FROM rabbitmq:4.1-management-alpine
22

33
COPY conf/rabbitmq.conf /etc/rabbitmq/rabbitmq.conf
File renamed without changes.

0 commit comments

Comments
 (0)