Files
computer-playbook/roles/web-app-magento/config/main.yml
Kevin Veen-Birkenbach 77e8e7ed7e 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
2025-09-04 12:45:03 +02:00

44 lines
1.2 KiB
YAML

features:
matomo: true
css: true
desktop: true
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
server:
csp:
whitelist: {}
domains:
canonical:
- "shop.{{ PRIMARY_DOMAIN }}"
aliases:
- "magento.{{ PRIMARY_DOMAIN }}"
docker:
services:
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
version: "11.4"
redis:
enabled: true
search:
enabled: true
image: "opensearchproject/opensearch"
version: "latest"
name: "magento-opensearch"
volumes:
data: "magento_data"