Skip to content

Commit aa4f46c

Browse files
HRaval2HRaval2
HRaval2
authored and
HRaval2
committedDec 9, 2019
Updated Readme
1 parent fa6924f commit aa4f46c

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed
 

‎README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,32 @@
1-
"# Docker-Setup"
1+
# Docker setup for PHP projects
2+
3+
This setup will work for your all PHP projects. You need to put these all files in your project root directory.
4+
5+
# This setup has included:
6+
- PHP (7.3.x)
7+
- MySQL (5.7.x)
8+
- Nginx
9+
- PHPMyAdmin
10+
- Composer
11+
- Custom PHP.ini & phpmyadmin.ini
12+
13+
To start the services:
14+
15+
```bash
16+
docker-compose up -d
17+
```
18+
19+
To see current running containers:
20+
```bash
21+
docker ps
22+
```
23+
24+
To restart/stop services:
25+
```bash
26+
docker-composer stop
27+
docker-composer restart
28+
```
29+
SSH into a container ( You'll get container name from `docker ps` command )
30+
```bash
31+
docker exec -it <container name> /bin/bash
32+
```

0 commit comments

Comments
 (0)