Magento 2.4.8 refactor:

- Switch to split containers (markoshust/magento-php:8.2-fpm + magento-nginx:latest)
- Disable central DB; use app-local MariaDB and pin to 11.4
- Composer bootstrap of Magento in php container (Adobe repo keys), idempotent via creates
- Make setup:install idempotent; run as container user 'app'
- Wire OpenSearch (security disabled) and depends_on ordering
- Add credentials schema (adobe_public_key/adobe_private_key)
- Update vars for php/nginx/search containers + MAGENTO_USER
- Remove legacy docs (Administration.md, Upgrade.md)
Context: changes derived from our ChatGPT session about getting Magento 2.4.8 running with MariaDB 11.4.
Conversation: https://chatgpt.com/share/68b8dc30-361c-800f-aa69-88df514cb160
This commit is contained in:
2025-09-04 12:45:03 +02:00
parent 32bc17e0c3
commit 77e8e7ed7e
7 changed files with 87 additions and 103 deletions

View File

@@ -2,7 +2,7 @@ features:
matomo: true
css: true
desktop: true
central_database: true # Use platform DB (recommended). If false, app-local DB container is enabled.
central_database: false # Impossible to use central database due to strict database checking
oidc: false # Magento SSO via OIDC requires extensions; not wired by default
logout: true
ldap: false
@@ -15,17 +15,23 @@ server:
- "shop.{{ PRIMARY_DOMAIN }}"
aliases:
- "magento.{{ PRIMARY_DOMAIN }}"
docker:
services:
application:
image: "ghcr.io/alexcheng1982/docker-magento2"
version: "2.4.6-p3"
name: "magento"
php:
image: "markoshust/magento-php"
version: "8.2-fpm"
name: "magento-php"
backup:
no_stop_required: true
nginx:
image: "markoshust/magento-nginx"
version: "latest"
name: "magento-nginx"
backup:
no_stop_required: true
database:
enabled: true # Central DB recommended; if disabled, app-local DB is created
enabled: true
version: "11.4"
redis:
enabled: true
search: