Move WebserverBlueprint to official nginx+php fpm
svensp opened this issue · 3 comments
svensp commented
https://github.com/ipunkt/nginx which is currently used by WebserverBlueprint currently brings 3 things together:
- nginx
- php-fpm 7.0
- nginx configuration
Going by the single responsibility principle this should not be done.
Instead anipunktbs/nginx-configuration
Image should be created containing the configuration files and rancherize should bring together the official nginx + php-fpm images with the configuration
svensp commented
The current nginx image includes several php extra modules.
Among others:
- zip
- mbstring
- predis
The image itself https://hub.docker.com/_/php/ recommends creating your own image with the necessary modules. Do we make our own php-fpm image or is there a laravel
or all modules
themed image we could incorporate?
justb81 commented
@svensp make an own image using:
EXTENSIONS="…"
RUN docker-php-source extract \
&& docker-php-ext-install $EXTENSIONS \
&& docker-php-source delete
rokde commented
Or you just use laradock ready-tailored docker images: https://github.com/laradock/laradock/tree/master/php-fpm and https://github.com/laradock/laradock/tree/master/nginx and all the others