openbridge / ob_php-fpm

PHP-FPM container for NGINX using Alpine, Opcache, Dynamic Resources, Monitoring, Security
https://www.openbridge.com
MIT License
96 stars 26 forks source link

multisite support #25

Open accessone67 opened 5 years ago

accessone67 commented 5 years ago

I'm using this php-fpm image whit nginx container and it is really nice. Is it possible to run this image whit multiple APP_DOCROOT variables? I wold like to run more than 20 sites, but I wold like to use only one php-fpm container. I do not like the idea that I need to run 20+ fpm containers.

Is it possible to add multisite support to this?

tspicer commented 5 years ago

Are you talking about multi-site support for Wordpress or in general?

accessone67 commented 5 years ago

In general, most of the sites are drupal but also I have wordpress sites. I wold like to use one or two FPM for all those sites

bluebamus commented 5 years ago

normally I'm making several php-fpm files as service name in pool folder. and also make nginx conf files in conf folder. to manage different site, I know this way is good for. If you have another way to get high performance, please let me know