Magento Docker Environment Setup (FrankenPHP)
This README provides instructions for setting up a Magento 2 environment using Docker. The setup includes containers for FrankenPHP, MariaDB, OpenSearch, and Redis.
- Docker
- Docker Compose
- Git (optional, for cloning the repository)
- FrankenPHP: Web server to serve Magento pages based on FrankenPHP.
- MariaDB: Database server for Magento data.
- OpenSearch: Search engine for Magento catalog search functionality.
- Redis: Backend cache and session storage for improved performance.
- Mailhog: Email testing tool for Magento email functionality.
- PhpMyAdmin: Database management tool for MariaDB.
You can customize your Docker setup by editing the docker-compose.yml and associated Dockerfiles for each service as needed.
- If you encounter permissions issues, ensure the ./magento and ./magento/pub directories are writable by the web server.
- For any errors during Magento installation, check the installation command for correctness and completeness.
Magento Docker is available under the MIT License.