File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments