JasonRivers / Docker-Nagios

Docker image for Nagios
MIT License
232 stars 254 forks source link

Install aditional PHP modules / software #129

Open FRvanderVeen opened 3 years ago

FRvanderVeen commented 3 years ago

I would like to know if it is possible to install additional packages to the container. For a plug-in I wrote myself I need php-curl and php-bcmath. Besides that I would like to use thruk (https://www.thruk.org/download.html) for displaying the status and nagiosql (https://sourceforge.net/projects/nagiosql/) for controlling the hosts and services.

The first probably is possible with an "ADDITIONAL_PACKAGES" environment variable in which one can specify the additional packages to be installed.

For the second part to work it's probably enough to be able to extend the apache config with one or more additional config files (I suggest via IncludeOptional). Then I can put my own files in the persisted storage, so thinks keep working after an update

If there is anything I can do to help, please let me know

tronyx commented 2 years ago

Just fork the repo and create your own image with the additions you require.