Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aliuosio/magento2docker
This Setup can be used to fast demo magento 2 or as as development enviroment. The main docker image `osioaliu/magento2docker` has all applications (Nginx, PHP, MariaDB, Redis, Elasticsearch) needed to run Magento 2
https://github.com/aliuosio/magento2docker
Last synced: 3 months ago
JSON representation
This Setup can be used to fast demo magento 2 or as as development enviroment. The main docker image `osioaliu/magento2docker` has all applications (Nginx, PHP, MariaDB, Redis, Elasticsearch) needed to run Magento 2
- Host: GitHub
- URL: https://github.com/aliuosio/magento2docker
- Owner: aliuosio
- License: mit
- Created: 2023-01-20T16:46:06.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-12T11:25:26.000Z (10 months ago)
- Last Synced: 2024-05-21T05:05:22.015Z (6 months ago)
- Language: Shell
- Size: 2.65 MB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-magento2 - magento2docker - MariaDB, PHP , Redis, ElasticSearch in one dockerfile for fast demo and deveopment enviroment (Tools / Meet Magento)
README
# magento2docker
This setup is designed to quickly demo Magento 2 or serve as a development environment.
The main Docker image, osioaliu/magento2docker, includes all necessary applications
(Nginx, PHP, MariaDB, Redis, Elasticsearch) to run Magento 2.> This setup should not be used on a production server due to security concerns.
## Magento 2 Demo
### 1. Run the following command to start the container:docker run --rm -dt --name magento2docker osioaliu/magento2docker:latest
### 2. Execute the following command to get Magento 2 IP:
docker exec -t magento2docker start
## Magento 2 Dev
If you want to use this setup with your own project, you can use the `docker-compose.yml file.
This file includes additional containers with Mailhog, Watchtower, and Rabbitmq
which you may find useful for your project. These containers are currently commented out.git clone https://github.com/aliuosio/magento2docker.git
cd magento2docker
chmod +x bin/dev
bin/devOnly the `app/code`, `dev`, `composer.json` foldera are mapped as a volumes due perfomance.
The rest of the magento files are copied to a folder parralel to htdocs so you can add it as a library to your IDE> The image with the `dev` tag used in the `docker-compose.yml` has xdebug installed with magento2docker as the idekey.
## Accessing the Application
### BackendURL: http:///admin
Username: mage2_admin
Password: mage2_admin123#T### Frontend
URL: http://### Additional Composer Packages
**magento2-gmailsmtpapp**Configures Magento 2 / Adobe Commerce to send transactional emails using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 or any other SMTP servers.
**Yireo/magento2-webp2**
Adds WebP support to Magento 2.
dominicwatts/cachewarmer: Magento 2 Site based Cachewarmer / Link checker / Siege Tester and should not be used in production environments.