2016-02-16 01:20:56 +08:00
|
|
|
Docker PHP-FPM & Nginx setup
|
|
|
|
============================
|
|
|
|
Example PHP-FPM & Nginx setup for Docker using docker-compose.
|
|
|
|
|
|
|
|
Usage
|
|
|
|
----
|
|
|
|
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
|
|
|
|
|
|
|
|
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
|