Skip to content

Commit 369c076

Browse files
authored
Update README.md
1 parent 4bf1a2d commit 369c076

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
A basic example of setting up a LAMP stack from scratch using Docker.
44

5+
Create a file in your project directory called ```docker-compose.yml``` and add the following Docker settings:
6+
57
```yml
68
version: '3'
79
services:
@@ -43,6 +45,18 @@ networks:
4345
driver: bridge
4446
```
4547
48+
Using a terminal, navigate to the same folder as your ```docker-compose.yml``` file and run the following command:
49+
50+
```
51+
docker-compose up
52+
```
53+
54+
To shut the container down push ```CTRL C``` and then run the folloeing command:
55+
56+
```
57+
docker-composer down
58+
```
59+
4660
## Tutorial Requirements:
4761
4862
* [Visual Studio Code](https://code.visualstudio.com/)

0 commit comments

Comments
 (0)