Files
computer-playbook/roles/web-app-magento/config/main.yml
Kevin Veen-Birkenbach 0e72dcbe36 feat(magento): switch to ghcr.io/alexcheng1982/docker-magento2:2.4.6-p3; update Compose/Env/Tasks/Docs
• Docs: updated to MAGENTO_VOLUME; removed Installation/User_Administration guides
• Compose: volume path → /var/www/html; switched variables to MAGENTO_*/MYSQL_*/OPENSEARCH_*
• Env: new variable set + APACHE_SERVERNAME
• Task: setup:install via docker compose exec (multiline form)
• Schema: removed obsolete credentials definition
Link: https://chatgpt.com/share/68b8dc30-361c-800f-aa69-88df514cb160
2025-09-04 02:25:49 +02:00

38 lines
1.1 KiB
YAML

features:
matomo: true
css: true
desktop: true
central_database: true # Use platform DB (recommended). If false, app-local DB container is enabled.
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:
application:
image: "ghcr.io/alexcheng1982/docker-magento2"
version: "2.4.6-p3"
name: "magento"
backup:
no_stop_required: true
database:
enabled: true # Central DB recommended; if disabled, app-local DB is created
redis:
enabled: true
search:
enabled: true
image: "opensearchproject/opensearch"
version: "latest"
name: "magento-opensearch"
volumes:
data: "magento_data"