2016-07-11 18:48:37 +08:00
|
|
|
Docker PHP-FPM 7.0 & Nginx 1.10 on Alpine Linux
|
2016-03-16 20:45:51 +08:00
|
|
|
==============================================
|
2016-07-11 18:48:37 +08:00
|
|
|
Example PHP-FPM 7.0 & Nginx 1.10 setup for Docker, build on [Alpine Linux](http://www.alpinelinux.org/).
|
2016-03-16 20:45:51 +08:00
|
|
|
The image is only +/- 60MB large.
|
2016-02-16 01:20:56 +08:00
|
|
|
|
2016-02-24 21:02:57 +08:00
|
|
|
|
2016-03-16 20:45:51 +08:00
|
|
|
[![Docker Pulls](https://img.shields.io/docker/pulls/trafex/alpine-nginx-php7.svg)](https://hub.docker.com/r/trafex/alpine-nginx-php7/)
|
2016-02-24 21:02:57 +08:00
|
|
|
|
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-03-16 20:53:38 +08:00
|
|
|
sudo docker run -p 80:80 trafex/alpine-nginx-php7
|
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
|
|
|
|
https://github.com/johanan/Ansible-and-Docker
|