docker-magento
devcontainers-mongodb-replica-set-with-docker
Our great sponsors
docker-magento | devcontainers-mongodb-replica-set-with-docker | |
---|---|---|
20 | 3 | |
2,385 | 53 | |
- | - | |
9.1 | 0.0 | |
8 days ago | about 3 years ago | |
Shell | Shell | |
MIT License | - |
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.
devcontainers-mongodb-replica-set-with-docker
- Questions about replica sets
-
Improving the local development setup for running MongoDB Replica Set with Docker
A flaw in that setup, was that although clients could connect to stand-alone nodes of the replica set, they could not connect to the replica set as a whole, as reported by this issue on the github repository.
-
How to setup a MongoDB Replica set for development using Docker
Here we have specified that the docker compose will be using the .env file to read environment variables and inject them into the container. This allows us to specify that the database's root username/password and initial database name to be picked up from specific environment variables. In my github repository, I have provided a sample env file that you can use to create your own .env file. Contents of the sample env file looks like this:
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
nginx-proxy-automation - Automated docker nginx proxy integrated with letsencrypt.
ddev - Docker-based local PHP+Node.js web development environments
umbrel - A beautiful home server OS for self-hosting with an app store. Buy a pre-built Umbrel Home with umbrelOS, or install on a Raspberry Pi 4, Pi 5, any Ubuntu/Debian system, or a VPS.
warden - Warden is a CLI utility for orchestrating Docker based developer environments [Moved to: https://github.com/wardenenv/warden]
DockSTARTer - DockSTARTer helps you get started with running apps in Docker.
warden - Warden is a CLI utility for orchestrating Docker based developer environments
nestjs-microservices - 🚀 Fully managed Microservices starter pack using NestJs, RabbitMQ, Kong api gateway, MongoDB, PostgreSQL, Grafana, Loki, Fluentbit.
wordpress-docker-compose - Easy Wordpress development with Docker and Docker Compose
docker-compose-letsencrypt-nginx-proxy-companion - Automated docker nginx proxy integrated with letsencrypt. [Moved to: https://github.com/evertramos/nginx-proxy-automation]
devilbox - A modern Docker LAMP stack and MEAN stack for local development
localhost-databases - Collection of Database Docker compose files for local development.