Our great sponsors
-
docker-magento2
Magento 2.4, Apache 2.4, PHP 7.4, MariaDB 10.4.16, Elasticsearch 7.6.0, Varnish 6.4.0
-
reward
Reward is a Swiss Army knife CLI utility for orchestrating Docker based development environments.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I'm currently maintaining multiple Magento 2.3.6 platforms for our clients, so it's not like I can just upgrade my local database to MySQL 8 for Magento 2.4. So, what I do is, I still use my local apache setup, in which I've set it up so I can quickly switch between PHP 7.3 and 7.4. And for the database, elasticsearch, varnish, redis, mailhog, etc, I use this repo: https://github.com/echo-magento/docker-magento2. However, I have issues with the elasticsearch of that build, so instead I pull the image from “docker.elastic.co/elasticsearch/elasticsearch:7.7.0”. Then, I set my Magento 2.4 platform locally on Apache webserver to connect to those services in docker.
Give it a shot: https://github.com/rewardenv/reward https://rewardenv.readthedocs.io
Related posts
- Magento 2.4.5 Docker Setup
- Magento 2.4 Local Development Setup - Mac M2
- m2devbox - easily create modules with pre-configured Magento 2 Docker environments
- Images are not being displayed in frontend and admin panel is not loading in backend in a freshly installed magento 2.4.7
- Docker container installed using WSL2 does not show in Docker Desktop