Skip to content

Commit 0ba5a4a

Browse files
Update README.md
Added quick method docs for now
1 parent 5d82197 commit 0ba5a4a

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,33 @@ and MySql image that they can update as per their requirements.
1717
4. Setup the local repository, error logs etc. path in the docker file itself.
1818

1919
# Let's start and follow the below steps to maintain an existing project using Docker.
20+
21+
## Quick Setup
22+
1. Clone this repository and run the below command:
23+
```
24+
docker-compose up -d
25+
```
26+
2. If everthing goes well, you will see below message:
27+
```
28+
Creating php ... done
29+
Creating mysql ... done
30+
Creating apache ... done
31+
```
32+
3. To see docker images run below command:
33+
```
34+
docker ps
35+
```
36+
You will see individual containers for PHP, MySql and Apache as shown below:
37+
38+
| CONTAINER ID | IMAGE | COMMAND | CREATED | STATUS | PORTS | NAMES |
39+
40+
| -------------| ------ | ------ | ------- | ------ | ----- | -----|
41+
42+
| 09f51b5f330b | dockerize-existing-drupal-project_apache | "httpd-foreground" | 32 seconds ago | Up 30 seconds | 0.0.0.0:80->80/tcp | apache |
43+
44+
| 8294e1800058 | dockerize-existing-drupal-project_php | "docker-php-entrypoi…" | 33 seconds ago | Up 31 seconds | 9000/tcp | php |
45+
46+
| d8b2cbac5695 | mysql:8.0.0 | "docker-entrypoint.s…" | 33 seconds ago | Up 31 seconds | 0.0.0.0:3306->3306/tcp | mysql |
47+
48+
49+

0 commit comments

Comments
 (0)