Skip to content

Commit 8379904

Browse files
author
Roman Sliusar
committed
Update readme
1 parent 26e5600 commit 8379904

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,13 @@
44

55
First of all, thank [rafaelstz](https://github.com/rafaelstz) this project is based on its [developments](https://github.com/clean-docker/Magento2)
66

7-
### Nginx 1.13 + PHP 7.2 + OPCache + MariaDB + N98 Magerun 2 + XDebug + Redis + Elasticsearch
7+
### Nginx 1.13 + (PHP 7.3 + OPCache + XDebug) + MariaDB + Redis + Elasticsearch 6.8
88

99
### Requirements
1010

1111
**MacOS:**
1212

13-
Install [Docker](https://docs.docker.com/docker-for-mac/install/), [Docker-compose](https://docs.docker.com/compose/install/#install-compose) and [Docker-sync](https://github.com/EugenMayer/docker-sync/wiki/docker-sync-on-OSX).
14-
15-
**Windows:**
16-
17-
Install [Docker](https://docs.docker.com/docker-for-windows/install/), [Docker-compose](https://docs.docker.com/compose/install/#install-compose) and [Docker-sync](https://github.com/EugenMayer/docker-sync/wiki/docker-sync-on-Windows).
13+
Install [Docker](https://docs.docker.com/docker-for-mac/install/), [Docker-compose](https://docs.docker.com/compose/install/#install-compose).
1814

1915
**Linux:**
2016

@@ -32,18 +28,25 @@ Go to <project_folder>:
3228
```
3329
<sup>Script ask you about project name, and link to git repo</sup>
3430

31+
Put all your project files under ./src directory
32+
3533
Run:
3634
```
3735
docker-compose up -d
3836
```
37+
Copy all your files from host machine to container by running:
38+
```
39+
./bin/copytocontainer --all
40+
```
3941

4042
After initialization you'll get 6 docker containers running:
4143

4244
| Container | Ports(host/container) | Description |
4345
|---|---|---|
44-
| `<project_name>_apache` | 80/80 ; 9000:9001 | Contains `Apache 2.4 + PHP 7.1 + OPCache + N98 Magerun 2 + XDebug` |
46+
| `<project_name>_nginx` | 80/8000 443/8443 | Contains `Nginx 1.13` |
47+
| `<project_name>_phpfpm` | 80/80 ; 9000:9001 | Contains `(PHP 7.3 + OPCache + XDebug)` |
4548
| `<project_name>_db` | 3300/3306 | Contains `MariaDB` |
46-
| `<project_name>_elasticsearch` | 9200/9200 | Contains `Elasticsearch 2.4` |
49+
| `<project_name>_elasticsearch` | 9200/9200 | Contains `Elasticsearch 6.8` |
4750
| `<project_name>_mailhog` | 1025/1025 ; 8025/8025 | Allow you reach emails from your app |
4851
| `<project_name>_redis-session` | n/6379 | Allow you save your sessions in Redis |
4952
| `<project_name>_redis` | n/6379 | Redis cache |
@@ -69,4 +72,4 @@ ifconfig lo0 alias 10.254.254.254
6972

7073
### License
7174

72-
MIT © 2018 [Roman Sliusar](https://github.com/underser/)
75+
MIT © 2020 [Roman Sliusar](https://github.com/underser/)

0 commit comments

Comments
 (0)