Open marc- opened 9 years ago
Thanks @marc-, I'll look into moving things into supervisord
, I noticed that issue too. Now, the decission to bundle mysql and httpd+php into the same image/container was to help folks run Zabbix for development and test environments without too much hassle and dependencies. I know that composer is a tool that can aid on this but this will require users to install such tool. In a nutshell, I am a bit hesitant on making such change since it will affect users that assume that the image has no dependencies.
That makes sense. Anyways, I've already created image without mysql and java based on minimalistic Alpine Linux distro.
great, thanks @marc-
Monit
is not suitable for containers. Please see https://bitbucket.org/tildeslash/monit/issue/53/ . It ends up crowded with zombie processes and you'll have to kill the container.I would suggest to move to supervisord . Please also consider splitting mysql and httpd+php into separate containers. In this case process monitoring system is not required at all.