docker-php-nginx/README.md

31 lines
746 B
Markdown
Raw Normal View History

2016-02-16 01:20:56 +08:00
Docker PHP-FPM & Nginx setup
============================
Example PHP-FPM & Nginx setup for Docker using docker-compose.
Usage
2016-02-18 16:23:59 +08:00
-----
2016-02-16 01:20:56 +08:00
Add this to your hosts file:
127.0.0.1 docker-app.dev
Start the Docker containers:
docker-compose up
See the PHP info on http://docker-app.dev
2016-02-18 16:23:59 +08:00
Docker Hub
----------
The containers can be found on the Docker hub:
- [trafex/example-appdata](https://hub.docker.com/r/trafex/example-appdata)
- [trafex/example-nginx](https://hub.docker.com/r/trafex/example-nginx)
- [trafex/example-phpfpm](https://hub.docker.com/r/trafex/example-phpfpm)
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