docker-php-nginx/README.md

22 lines
723 B
Markdown
Raw Normal View History

Docker PHP-FPM 7.0 & Nginx 1.8 on Alpine Linux
==============================================
Example PHP-FPM 7.0 & Nginx 1.8 setup for Docker, build on [Alpine Linux](http://www.alpinelinux.org/).
The image is only +/- 60MB large.
2016-02-16 01:20:56 +08:00
2016-02-24 21:02:57 +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
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 01:20:56 +08:00
https://github.com/johanan/Ansible-and-Docker