Skip to content

Commit 8625681

Browse files
authored
Merge pull request #9 from rm-yakovenko/docker-magento2-6-readme
Docker magento2 6 readme
2 parents 57a6793 + b9b6335 commit 8625681

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

README.md

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Docker Magento2 ![](https://api.travis-ci.org/rm-yakovenko/docker-magento2.svg?branch=master)
2+
3+
Ready to run docker containers for Magento2.
4+
5+
## Getting started
6+
7+
1. Copy `.env.dist` to `.env`.
8+
1. Configure `.env` if you need.
9+
1. Copy `.env`, `docker` and `docker-compose.yml` to your magento2's root folder.
10+
1. Run `docker-compose up -d`.
11+
1. Open in your browser http://localhost:8080/ to access Magento2.
12+
1. Open in your browser http://localhost:8081/ to access PhpMyAdmin.
13+
14+
## Useful tips
15+
16+
### Running composer install
17+
18+
```sh
19+
docker/console composer install
20+
```
21+
22+
### Running commands
23+
24+
```sh
25+
docker/console bin/magento cache:clear
26+
```
27+
28+
### Get into the container
29+
30+
```sh
31+
docker/console bash
32+
```

0 commit comments

Comments
 (0)