Public Repository

Last pushed: 2 years ago
Short Description
php-fpm plus php-redis via pecl setup to work with nginx
Full Description

php-fpm with gd plus mysql and redis clients

php-fpm plus php-redis via pecl setup to work with freshsauce/nginx

This image is based on the official php image.

Docker file can be found at repo https://github.com/freshsauce/docker-php5-fpm-redis

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