File tree 1 file changed +32
-0
lines changed
1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
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
+ ```
You can’t perform that action at this time.
0 commit comments