This image aims to be my personal nginx + php-fpm middle server but you can use it if you want.
The base image is my nginx image. This is customized to add php-fpm working together with nginx.
Then I add some configuration tuning.
This image is tuned with :
You could find some other performance / security tunings in configuration files that may change depending your needs.
References and documentation
- My nginx base image
- An example of a php fpm nginx image
- Supervisor tutorial
- Another supervisor tutorial
- Original php-fpm docker file
Don't hesitate to check the files of the project because they can contain more documentation and interesting links.
Getting the source
On GitHub with my docker-nginx-php project.
You could be interested by
Then you will have a nginx front server.