Files
computer-playbook/roles/web-app-magento
Kevin Veen-Birkenbach 5e616d3962 web: general domain cleanup (canonical/aliases normalization)
- Normalize domain blocks across apps:
  - Add explicit 'aliases: []' everywhere (no implicit aliases)
  - Standardize canonical subdomains for consistency:
    * Bluesky: web/api under *.bluesky.<PRIMARY_DOMAIN>
    * EspoCRM: espo.crm.<PRIMARY_DOMAIN>
    * Gitea:   tea.git.<PRIMARY_DOMAIN>
    * GitLab:  lab.git.<PRIMARY_DOMAIN>
    * Joomla:  joomla.cms.<PRIMARY_DOMAIN>
    * Magento: magento.shop.<PRIMARY_DOMAIN>
    * OpenProject: open.project.<PRIMARY_DOMAIN>
    * Pretix:  ticket.shop.<PRIMARY_DOMAIN>
    * Taiga:   kanban.project.<PRIMARY_DOMAIN>
  - Remove legacy/duplicate aliases and use empty list instead
  - Fix 'alias' -> 'aliases' where applicable

Context: preparing for AUTO_BUILD_ALIASES=False and deterministic redirect mapping.

Ref: conversation https://chatgpt.com/share/68cd512c-c878-800f-bdf2-81737adf7e0e
2025-09-19 14:51:56 +02:00
..
2025-09-04 12:45:03 +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.