{"repo":"aliuosio/mage2.docker","free":true,"listed":false,"github":"https://github.com/aliuosio/mage2.docker","clone":"git clone https://github.com/aliuosio/mage2.docker.git","description":"Docker Stack with Magento 2 latest installer. Containers: Varnish, Nginx, PHP, Opensearch, MariaDB, Redis, Mailhog, RabbitMQ, Watchtower. One Stack for all Projects by adjusting .env file","language":"Shell","stars":58,"topics":["php","docker","docker-compose","mailhog","nginx","containers","redis","elasticsearch","magento2","docker-container"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Docker stack with Magento 2 latest installer and Sample Data A single stack for all projects, configurable via the .env file. Docker containers: Varnish, Nginx, PHP, Opensearch, MariaDB, Redis, Mailhog, RabbitMQ PHP with NodeJS (linux/amd64, linux/arm64) MySQL connects via socket instead of TCP/IP RabbitMQ, MailHog, Watchtower are commented out of the docker-compose.yml to run projects parallel you need to add a proxy like Traefik or nginx-proxy Get Source git clone https://github.com/aliuosio/mage2.docker.git check for updates with git fetch && git pull Installation Fresh installation (latest Magento 2 version) or use an existing project located in your filesystem. cd mage2.docker chmod +x bin/ cp .env.temp .env # modify .env for a existing shop if you want bin/install # on next start bin/start if there is a composer.json found in this directory, it will be used instead of performing a fresh install. Database will be imported from .docker/mysql/db dumps if found use .env to change values after installation; changes will be applied upon container restart with bin/start for a fresh install run docker compose down -v and then bin/install Backend http://localhost/admin User: mage2 admin Password: mage2 admin123#T Frontend http://localhost next startup after reboot of Host bin/start PHP Container Usage docker exec -it mage2 php bash Mailhog Usage bin/install script configures the default magento 2.4.6 mail settings to run with mailhog Mail Client http://localhost:8025 Xdebug Conf","default_branch":null,"files":null,"tree":[],"storefront":"/r/aliuosio","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aliuosio/mage2.docker/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}