mirror of
https://github.com/mashirozx/docker-php-nginx.git
synced 2024-11-22 23:08:15 +08:00
18 lines
450 B
Markdown
18 lines
450 B
Markdown
Docker PHP-FPM & Nginx setup
|
|
============================
|
|
Example PHP-FPM 7 & Nginx 1.9 setup for Docker
|
|
|
|
Usage
|
|
-----
|
|
Start the Docker containers:
|
|
|
|
sudo docker run -p 80:80 trafex/php-nginx
|
|
|
|
See the PHP info on http://localhost, or the static html page on http://localhost/test.html
|
|
|
|
Resources & inspiration
|
|
-----------------------
|
|
https://ejosh.co/de/2015/09/how-to-link-docker-containers-together
|
|
|
|
https://github.com/johanan/Ansible-and-Docker
|