Skip to content

Commit 656fc62

Browse files
Xantios KrugorXantios Krugor
Xantios Krugor
authored and
Xantios Krugor
committed
Added a readme
1 parent 15aaeba commit 656fc62

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
## PHPDev
2+
3+
Just a quick and easy way to get PHP up and running on evyerthing that runs Docker.
4+
5+
## Docker Speed run
6+
Let's assume you have an awesome project! Let's wrap a docker container around it to make it platform independent
7+
8+
```bash
9+
docker run -it -v $pwd:/var/www/html -p 8080:80 xantios/phpdev
10+
```
11+
12+
## Cool and now what?
13+
Open your favorite browser and go to: http://localhost:8080
14+
15+
## Nice! How is this setup?
16+
17+
|Service|Config|
18+
|----|----|
19+
|Nginx|vhost.conf in this repo, easy as could be|
20+
|php-fpm|listens on port 9000, feel free to add -p 9000:9000 to the docker command to access it from outside of the container|
21+
|php|CLI has xdebug enabled|
22+
|xdebug|see xdebug.ini|
23+
|[Maple](https://github.com/xantios/Maple)|To run nginx and php-fpm|
24+
25+
## I Want to customize it!
26+
Feel free! if you have any valuable addition please PR!
27+
28+
Clone this repo, do whatever you want to do and run the included build.sh script

0 commit comments

Comments
 (0)