2016-02-16 01:20:56 +08:00
|
|
|
Docker PHP-FPM & Nginx setup
|
|
|
|
============================
|
2016-02-24 18:08:50 +08:00
|
|
|
Example PHP-FPM 7 & Nginx 1.9 setup for Docker
|
2016-02-16 01:20:56 +08:00
|
|
|
|
|
|
|
Usage
|
2016-02-18 16:23:59 +08:00
|
|
|
-----
|
2016-02-16 01:20:56 +08:00
|
|
|
Start the Docker containers:
|
|
|
|
|
2016-02-24 18:08:50 +08:00
|
|
|
sudo docker run -p 80:80 trafex/php-nginx
|
2016-02-18 16:23:59 +08:00
|
|
|
|
2016-02-24 18:08:50 +08:00
|
|
|
See the PHP info on http://localhost, or the static html page on http://localhost/test.html
|
2016-02-18 16:23:59 +08:00
|
|
|
|
2016-02-16 01:20:56 +08:00
|
|
|
Resources & inspiration
|
|
|
|
-----------------------
|
|
|
|
https://ejosh.co/de/2015/09/how-to-link-docker-containers-together
|
2016-02-16 17:13:29 +08:00
|
|
|
|
2016-02-16 01:20:56 +08:00
|
|
|
https://github.com/johanan/Ansible-and-Docker
|