Skip to content

Commit 2b98b0b

Browse files
committed
update the readme, include supported containers
1 parent 457c5d4 commit 2b98b0b

1 file changed

Lines changed: 15 additions & 8 deletions

File tree

README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ It's like Laravel Homestead but for Docker instead of Vagrant.
1515

1616

1717
- [Intro](#Intro)
18-
- [Default Containers](#Default-Containers)
18+
- [Supported Containers](#Supported-Containers)
1919
- [Requirements](#Requirements)
2020
- [Installation](#Installation)
2121
- [Usage](#Usage)
@@ -24,7 +24,7 @@ It's like Laravel Homestead but for Docker instead of Vagrant.
2424
- [Close all running Containers](#Close-all-running-Containers)
2525
- [Delete all existing Containers](#Delete-all-existing-Containers)
2626
- [Build/Re-build Containers](#Build-Re-build-Containers)
27-
- [Use Redis in Laravel](#Use-Redis-in-Laravel)
27+
- [Use Redis](#Use-Redis)
2828
- [Use custom Domain](Use-custom-Domain)
2929
- [Change the PHP Version](#Change-the-PHP-Version)
3030
- [Add/Remove a Docker Container](#AddRemove-a-Docker-Container)
@@ -62,13 +62,13 @@ Seriously!!!
6262
Instead of providing a full Virtual Machines, like you get with Vagrant, Docker provides you **lightweight** Virtual Containers, that share the same kernel and allow to safely execute independent processes.
6363

6464

65-
<a name="Default-Containers"></a>
66-
## Default Containers
65+
<a name="Supported-Containers"></a>
66+
## Supported Containers
6767

6868
- PHP
6969
- NGINX
7070
- MySQL
71-
- Postgres
71+
- PostgreSQL
7272
- Redis
7373
- Data Volume
7474

@@ -132,6 +132,7 @@ Note: you can choose your own combination of software's (containers), another ex
132132
docker-compose up -d php nginx postgres redis
133133
```
134134

135+
Supported Containers: `php`, `nginx`, `mysql`, `postgres`, `redis`, `data`.
135136

136137
<br>
137138
3 - Open your browser and visit your `{Docker-IP}` address (`http://xxx.xxx.xxx.xxx`).
@@ -169,6 +170,12 @@ docker ps
169170
docker-compose stop
170171
```
171172

173+
To stop single container do:
174+
175+
```php
176+
docker-compose stop {container-name}
177+
```
178+
172179
<br>
173180
<a name="Delete-all-existing-Containers"></a>
174181
#### Delete all existing Containers
@@ -178,7 +185,7 @@ docker-compose rm -f
178185

179186
*Note: Careful with this command as it will delete your Data Volume Container as well. (if you want to keep your Database data than you should stop each container by itself as follow):*
180187

181-
`docker stop {container-name}`
188+
182189

183190

184191
<br>
@@ -198,8 +205,8 @@ docker-compose build php
198205

199206

200207
<br>
201-
<a name="Use-Redis-in-Laravel"></a>
202-
#### Use Redis in Laravel
208+
<a name="Use-Redis"></a>
209+
#### Use Redis
203210

204211
1 - First make sure you run the Redis Container with the `docker-compose` command.
205212

0 commit comments

Comments
 (0)