Public Repository

Last pushed: 3 years ago
Short Description
nginx setup to work with a php-fpm image
Full Description

nginx

nginx setup to work with freshsauce/docker-php5-fpm-redis image

This container is based on the official nginx image.

For example used in a 4 container webapp running redis, mysql, php-fpm and nginx

docker run --name redis -p 6379:6379 -d redis

docker run --name mysql -p 3306:3306 
      -e MYSQL_ROOT_PASSWORD=rootpassword -d mysql

docker run --name php -v /myhost/www/html:/var/www/html 
      --link redis:redis --link mysql:db -d freshsauce/php5-fpm-redis

docker run --name web -v /myhost/www/html:/var/www/html 
      --link php:php -p 80:80 -d freshsauce/nginx
Docker Pull Command
Owner
freshsauce