Files
computer-playbook/roles/web-app-magento
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
..

Magento

Description

Magento (Adobe Commerce Open Source) is a powerful, extensible e-commerce platform built with PHP. It supports multi-store setups, advanced catalog management, promotions, checkout flows, and a rich extension ecosystem.

Overview

This role deploys Magento 2 via Docker Compose. It is aligned with the Infinito.Nexus stack patterns:

  • Reverse-proxy integration (front proxy handled by platform roles)
  • Optional central database (MariaDB) or app-local DB
  • OpenSearch for catalog search (required by Magento 2.4+)
  • Optional Redis cache/session (can be toggled)
  • Health checks, volumes, and environment templating
  • SMTP wired via platform's SYSTEM_EMAIL settings

For setup & operations, see:

Features

  • Modern search: OpenSearch out of the box (single-node).
  • Flexible DB: Use platform's central MariaDB or app-local DB.
  • Optional Redis: Toggle cache/session backend.
  • Proxy-aware: Exposes HTTP on localhost, picked up by front proxy role.
  • Automation-friendly: Admin user seeded from inventory variables.

Further Resources

License / Credits

Developed and maintained by Kevin Veen-Birkenbach.
Learn more at veen.world.

Part of the Infinito.Nexus Project
Licensed under Infinito.Nexus NonCommercial License.