mirror of
https://github.com/mashirozx/docker-php-nginx.git
synced 2024-12-12 09:54:37 +08:00
fpm | ||
nginx | ||
src | ||
docker-compose.yml | ||
Dockerfile | ||
README.md |
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
Docker Hub
The containers can be found on the Docker hub:
Resources & inspiration
https://ejosh.co/de/2015/09/how-to-link-docker-containers-together