|
@@ -1,4 +1,4 @@
|
|
-<h1 align="center">markoshust/docker-magento</h1>
|
|
|
|
|
|
+<h1 align="center">markshust/docker-magento</h1>
|
|
|
|
|
|
<div align="center">
|
|
<div align="center">
|
|
<p>Mark Shust's Docker Configuration for Magento</p>
|
|
<p>Mark Shust's Docker Configuration for Magento</p>
|
|
@@ -25,28 +25,28 @@ View Dockerfiles:
|
|
|
|
|
|
- [markoshust/magento-nginx (Docker Hub)](https://hub.docker.com/r/markoshust/magento-nginx/)
|
|
- [markoshust/magento-nginx (Docker Hub)](https://hub.docker.com/r/markoshust/magento-nginx/)
|
|
- 1.13
|
|
- 1.13
|
|
- - [`latest`, `1.13`, `1.13-7`](https://github.com/markoshust/docker-magento/tree/master/images/nginx/1.13)
|
|
|
|
- - [`1.13-6`](https://github.com/markoshust/docker-magento/tree/20.1.1/images/nginx/1.13)
|
|
|
|
- - [`1.13-5`](https://github.com/markoshust/docker-magento/tree/18.1.1/images/nginx/1.13)
|
|
|
|
- - [`1.13-4`](https://github.com/markoshust/docker-magento/tree/18.0.1/images/nginx/1.13)
|
|
|
|
- - [`1.13-3`](https://github.com/markoshust/docker-magento/tree/15.0.1/images/nginx/1.13)
|
|
|
|
- - [`1.13-2`](https://github.com/markoshust/docker-magento/tree/12.0.0/images/nginx/1.13)
|
|
|
|
- - [`1.13-1`](https://github.com/markoshust/docker-magento/tree/11.1.5/images/nginx/1.13)
|
|
|
|
- - [`1.13-0`](https://github.com/markoshust/docker-magento/tree/11.0.0/images/nginx/1.13)
|
|
|
|
|
|
+ - [`latest`, `1.13`, `1.13-7`](https://github.com/markshust/docker-magento/tree/master/images/nginx/1.13)
|
|
|
|
+ - [`1.13-6`](https://github.com/markshust/docker-magento/tree/20.1.1/images/nginx/1.13)
|
|
|
|
+ - [`1.13-5`](https://github.com/markshust/docker-magento/tree/18.1.1/images/nginx/1.13)
|
|
|
|
+ - [`1.13-4`](https://github.com/markshust/docker-magento/tree/18.0.1/images/nginx/1.13)
|
|
|
|
+ - [`1.13-3`](https://github.com/markshust/docker-magento/tree/15.0.1/images/nginx/1.13)
|
|
|
|
+ - [`1.13-2`](https://github.com/markshust/docker-magento/tree/12.0.0/images/nginx/1.13)
|
|
|
|
+ - [`1.13-1`](https://github.com/markshust/docker-magento/tree/11.1.5/images/nginx/1.13)
|
|
|
|
+ - [`1.13-0`](https://github.com/markshust/docker-magento/tree/11.0.0/images/nginx/1.13)
|
|
- [markoshust/magento-php (Docker Hub)](https://hub.docker.com/r/markoshust/magento-php/)
|
|
- [markoshust/magento-php (Docker Hub)](https://hub.docker.com/r/markoshust/magento-php/)
|
|
- 7.2
|
|
- 7.2
|
|
- - [`latest`, `7.2-fpm`, `7.2-fpm-0`](https://github.com/markoshust/docker-magento/tree/master/images/php/7.2)
|
|
|
|
|
|
+ - [`latest`, `7.2-fpm`, `7.2-fpm-0`](https://github.com/markshust/docker-magento/tree/master/images/php/7.2)
|
|
- 7.1
|
|
- 7.1
|
|
- - [`7.1-fpm`, `7.1-fpm-9`](https://github.com/markoshust/docker-magento/tree/master/images/php/7.1)
|
|
|
|
- - [`7.1-fpm-8`](https://github.com/markoshust/docker-magento/tree/17.0.1/images/php/7.1)
|
|
|
|
- - [`7.1-fpm-7`](https://github.com/markoshust/docker-magento/tree/16.2.0/images/php/7.1)
|
|
|
|
- - [`7.1-fpm-6`](https://github.com/markoshust/docker-magento/tree/16.0.0/images/php/7.1)
|
|
|
|
- - [`7.1-fpm-5`](https://github.com/markoshust/docker-magento/tree/15.0.1/images/php/7.1)
|
|
|
|
- - [`7.1-fpm-4`](https://github.com/markoshust/docker-magento/tree/15.0.0/images/php/7.1)
|
|
|
|
- - [`7.1-fpm-3`](https://github.com/markoshust/docker-magento/tree/14.0.1/images/php/7.1)
|
|
|
|
- - [`7.1-fpm-2`](https://github.com/markoshust/docker-magento/tree/13.0.0/images/php/7.1)
|
|
|
|
- - [`7.1-fpm-1`](https://github.com/markoshust/docker-magento/tree/11.1.5/images/php/7.1)
|
|
|
|
- - [`7.1-fpm-0`](https://github.com/markoshust/docker-magento/tree/11.0.0/images/php/7.1)
|
|
|
|
|
|
+ - [`7.1-fpm`, `7.1-fpm-9`](https://github.com/markshust/docker-magento/tree/master/images/php/7.1)
|
|
|
|
+ - [`7.1-fpm-8`](https://github.com/markshust/docker-magento/tree/17.0.1/images/php/7.1)
|
|
|
|
+ - [`7.1-fpm-7`](https://github.com/markshust/docker-magento/tree/16.2.0/images/php/7.1)
|
|
|
|
+ - [`7.1-fpm-6`](https://github.com/markshust/docker-magento/tree/16.0.0/images/php/7.1)
|
|
|
|
+ - [`7.1-fpm-5`](https://github.com/markshust/docker-magento/tree/15.0.1/images/php/7.1)
|
|
|
|
+ - [`7.1-fpm-4`](https://github.com/markshust/docker-magento/tree/15.0.0/images/php/7.1)
|
|
|
|
+ - [`7.1-fpm-3`](https://github.com/markshust/docker-magento/tree/14.0.1/images/php/7.1)
|
|
|
|
+ - [`7.1-fpm-2`](https://github.com/markshust/docker-magento/tree/13.0.0/images/php/7.1)
|
|
|
|
+ - [`7.1-fpm-1`](https://github.com/markshust/docker-magento/tree/11.1.5/images/php/7.1)
|
|
|
|
+ - [`7.1-fpm-0`](https://github.com/markshust/docker-magento/tree/11.0.0/images/php/7.1)
|
|
|
|
|
|
## Usage
|
|
## Usage
|
|
|
|
|
|
@@ -57,7 +57,7 @@ Folders:
|
|
- `images`: Docker images for nginx and php
|
|
- `images`: Docker images for nginx and php
|
|
- `compose`: sample setups with Docker Compose
|
|
- `compose`: sample setups with Docker Compose
|
|
|
|
|
|
-> The Magento 1 version of this development environment has been deprecated and is no longer supported. PHP 5 was used as it's base, and that version has reached end-of-life. If you still wish to use this setup, please reference [compose/magento-1 on tag 20.1.1](https://github.com/markoshust/docker-magento/tree/20.1.1/compose/magento-1), but please be aware these images are no longer maintained.
|
|
|
|
|
|
+> The Magento 1 version of this development environment has been deprecated and is no longer supported. PHP 5 was used as it's base, and that version has reached end-of-life. If you still wish to use this setup, please reference [compose/magento-1 on tag 20.1.1](https://github.com/markshust/docker-magento/tree/20.1.1/compose/magento-1), but please be aware these images are no longer maintained.
|
|
|
|
|
|
## Prerequisites
|
|
## Prerequisites
|
|
|
|
|
|
@@ -65,7 +65,7 @@ This setup assumes you are running Docker on a computer with at least 4GB of all
|
|
|
|
|
|
This configuration has been tested on Mac & Linux.
|
|
This configuration has been tested on Mac & Linux.
|
|
|
|
|
|
-> **Windows Configurations**: The Windows configuration does not currently work and is in need of a contributor to get functional once again. Please see [issue 100](https://github.com/markoshust/docker-magento/issues/100) to contribute.
|
|
|
|
|
|
+> **Windows Configurations**: The Windows configuration does not currently work and is in need of a contributor to get functional once again. Please see [issue 100](https://github.com/markshust/docker-magento/issues/100) to contribute.
|
|
|
|
|
|
## Quick Setup
|
|
## Quick Setup
|
|
|
|
|
|
@@ -76,7 +76,7 @@ This configuration has been tested on Mac & Linux.
|
|
Run this automated one-liner from the directory you want to install your project to:
|
|
Run this automated one-liner from the directory you want to install your project to:
|
|
|
|
|
|
```
|
|
```
|
|
-curl -s https://raw.githubusercontent.com/markoshust/docker-magento/master/lib/onelinesetup|bash -s -- magento2.test 2.3.0
|
|
|
|
|
|
+curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup|bash -s -- magento2.test 2.3.0
|
|
```
|
|
```
|
|
|
|
|
|
The `magento2.test` above defines the hostname to use, and the `2.3.0` defines the Magento version to install. Note that since we need a write to `/etc/hosts` for DNS resolution, you will be prompted for your system password during setup.
|
|
The `magento2.test` above defines the hostname to use, and the `2.3.0` defines the Magento version to install. Note that since we need a write to `/etc/hosts` for DNS resolution, you will be prompted for your system password during setup.
|
|
@@ -89,7 +89,7 @@ Same result as the one-liner above. Just replace `magento2.test` references with
|
|
|
|
|
|
```
|
|
```
|
|
# Quick setup for a new instance of Magento 2:
|
|
# Quick setup for a new instance of Magento 2:
|
|
-curl -s https://raw.githubusercontent.com/markoshust/docker-magento/master/lib/template|bash -s -- magento-2
|
|
|
|
|
|
+curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template|bash -s -- magento-2
|
|
|
|
|
|
# New projects can easily download by version:
|
|
# New projects can easily download by version:
|
|
bin/download 2.3.0
|
|
bin/download 2.3.0
|
|
@@ -120,7 +120,7 @@ bin/setup magento2.test
|
|
open https://magento2.test
|
|
open https://magento2.test
|
|
```
|
|
```
|
|
|
|
|
|
-> For more details on how everything works, see the extended [setup readme](https://github.com/markoshust/docker-magento/blob/master/SETUP.md).
|
|
|
|
|
|
+> For more details on how everything works, see the extended [setup readme](https://github.com/markshust/docker-magento/blob/master/SETUP.md).
|
|
|
|
|
|
## Custom CLI Commands
|
|
## Custom CLI Commands
|
|
|
|
|
|
@@ -168,7 +168,7 @@ Then update the username and password values with your Magento public and privat
|
|
|
|
|
|
Install and enable the PHP Debug extension from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-debug).
|
|
Install and enable the PHP Debug extension from the [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-debug).
|
|
|
|
|
|
-Otherwise, this project now automatically sets up Xdebug support with VS Code. If you wish to set this up manually, please see the [`.vscode/launch.json`](https://github.com/markoshust/docker-magento/blame/master/compose/magento-2/.vscode/launch.json) file.
|
|
|
|
|
|
+Otherwise, this project now automatically sets up Xdebug support with VS Code. If you wish to set this up manually, please see the [`.vscode/launch.json`](https://github.com/markshust/docker-magento/blame/master/compose/magento-2/.vscode/launch.json) file.
|
|
|
|
|
|
### Xdebug & PHPStorm
|
|
### Xdebug & PHPStorm
|
|
|
|
|