docker-magento
m2devbox
Our great sponsors
docker-magento | m2devbox | |
---|---|---|
20 | 1 | |
2,385 | 18 | |
- | - | |
9.1 | 0.0 | |
5 days ago | about 2 years ago | |
Shell | PHP | |
MIT License | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
docker-magento
-
Images are not being displayed in frontend and admin panel is not loading in backend in a freshly installed magento 2.4.7
Mark Shust's Magento Docker
-
Docker container installed using WSL2 does not show in Docker Desktop
I am very new to docker as well as WSL2 so it is very possible I am overlooking something rather obvious. I am trying to install Magento on my Windows 10 machine using https://github.com/markshust/docker-magento.
- Blank Page and Not Connecting Admin after Production Mode/Di:Compile
- Magento 2.4.5 Docker Setup
-
is working on magento as a junior developer is the best idea?
Get a local development environment setup using Mark Shust's Magento Docker project - Mark is super helpful and the README is quite comprehensive
-
Magento 2.4 Local Development Setup - Mac M2
M2 MacBook Pro user here too. I've never used Warden so I'm not going to be too much help there however I can recommend Mark Shust's Docker setup if you're open to using something else. I've used it Ubuntu, MacOS, Apple Silicon, Intel, and AMD platforms without issue.
-
dev enviroment: windows wsl2 ubuntu docker vs vmware player 17 ubuntu docker
For more details I compared both setups. For both I use https://github.com/markshust/docker-magento Magento 2 docker stuff. Using Windows was nice as I like having everything there like I already had phpstorm, my clipboard manager, chrome, etc. But Windows just uses up all the ram quickly and becomes laggy. I debated about going the vmware route but just do it, it doesn't take that long to setup. I benchmarked a simple page request after clearing caches in Magento 2 and the performance is actually a little better (8%) in vmware docker than windows wsl2.
- Anyone with a Magento test server I can connect API to for testing?
-
Connect local /etc/host with docker
## Mark Shust's Docker Configuration for Magento ## (https://github.com/markshust/docker-magento) ## ## Version 43.2.0 ## To use SSH, see https://github.com/markshust/docker-magento#ssh ## Linux users, see https://github.com/markshust/docker-magento#linux ## If you changed the default Docker network, you may need to replace ## 172.17.0.1 in this file with the result of: ## docker network inspect bridge --format='{{(index .IPAM.Config 0).Gateway}}' version: "3" services: app: image: markoshust/magento-nginx:1.18-8 ports: - "80:8000" - "443:8443" volumes: &appvolumes - ~/.composer:/var/www/.composer:cached - ~/.ssh/id_rsa:/var/www/.ssh/id_rsa:cached - ~/.ssh/known_hosts:/var/www/.ssh/known_hosts:cached - appdata:/var/www/html - sockdata:/sock - ssldata:/etc/nginx/certs extra_hosts: &appextrahosts ## Selenium support, replace "magento.test" with URL of your site - "magento.test:172.17.0.1" phpfpm: image: markoshust/magento-php:8.1-fpm-1 volumes: *appvolumes env_file: env/phpfpm.env #extra_hosts: *appextrahosts db: image: mariadb:10.4 command: --max_allowed_packet=64M --optimizer_use_condition_selectivity=1 --optimizer_switch="rowid_filter=off" ports: - "3306:3306" env_file: env/db.env volumes: - dbdata:/var/lib/mysql redis: image: redis:6.2-alpine ports: - "6379:6379" elasticsearch: image: markoshust/magento-elasticsearch:7.16-0 ports: - "9200:9200" - "9300:9300" environment: - "discovery.type=single-node" ## Set custom heap size to avoid memory errors - "ES_JAVA_OPTS=-Xms1g -Xmx1g" ## Avoid test failures due to small disks ## More info at https://github.com/markshust/docker-magento/issues/488 - "cluster.routing.allocation.disk.threshold_enabled=false" - "index.blocks.read_only_allow_delete" rabbitmq: image: markoshust/magento-rabbitmq:3.9-0 ports: - "15672:15672" - "5672:5672" volumes: - rabbitmqdata:/var/lib/rabbitmq env_file: env/rabbitmq.env mailcatcher: image: sj26/mailcatcher ports: - "1080:1080" ## Blackfire support, uncomment to enable #blackfire: # image: blackfire/blackfire:2 # ports: # - "8307" # env_file: env/blackfire.env ## Selenium support, uncomment to enable #selenium: # image: selenium/standalone-chrome-debug:3.8.1 # ports: # - "5900:5900" # extra_hosts: *appextrahosts volumes: appdata: dbdata: rabbitmqdata: sockdata: ssldata:
-
Module Development in Magento 2 (Adobe Commerce): Registering a Module
You have an install of Magento 2 that you can develop with (if you don't then this repo with docker will work wonders.
m2devbox
-
m2devbox - easily create modules with pre-configured Magento 2 Docker environments
m2devbox is open source and licensed under MPL-v2. See the repo on Github. I'm actively developing on m2devbox and will add new features in coming weeks. Hopefully it can save you much time as it does for me!
What are some alternatives?
docker-magento2 - Magento 2.4, Apache 2.4, PHP 7.4, MariaDB 10.4.16, Elasticsearch 7.6.0, Varnish 6.4.0
devilbox - A modern Docker LAMP stack and MEAN stack for local development
ddev - Docker-based local PHP+Node.js web development environments
warden - Warden is a CLI utility for orchestrating Docker based developer environments [Moved to: https://github.com/wardenenv/warden]
n98-magerun2 - The swiss army knife for Magento developers, sysadmins and devops. The tool provides a huge set of well tested command line commands which save hours of work time. All commands are extendable by a module API.
warden - Warden is a CLI utility for orchestrating Docker based developer environments
magento2-regenerate_url_rewrites - Magento 2 extension which add feature of regenerating a url rewrites of products/categories
devcontainers-mongodb-replica-set-with-docker - Docker based development container template to run a MongoDB replica set cluster in local machine.
dwoole - ⚙️ Docker image for Swoole apps with Composer, auto-restart on development and a production-ready version.
wordpress-docker-compose - Easy Wordpress development with Docker and Docker Compose
Magento - Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.