docker-compose.yml

This commit is contained in:
Kameron Kenny - pi501 2024-12-27 09:53:27 -05:00
parent 75a3363a1d
commit 8fba2c695e
1 changed files with 6 additions and 2 deletions

View File

@ -141,7 +141,7 @@ RUN cd /tmp &&
cd nrpe && \ cd nrpe && \
./configure \ ./configure \
--with-ssl=/usr/bin/openssl \ --with-ssl=/usr/bin/openssl \
--with-ssl-lib=/usr/lib/arm-linux-gnueabihf \ --with-ssl-lib=/usr/lib/aarch64-linux-gnu \
&& \ && \
make check_nrpe && \ make check_nrpe && \
cp src/check_nrpe ${NAGIOS_HOME}/libexec/ && \ cp src/check_nrpe ${NAGIOS_HOME}/libexec/ && \
@ -245,6 +245,10 @@ EXPOSE 80
RUN pip install speedtest-cli RUN pip install speedtest-cli
VOLUME "${NAGIOS_HOME}/var" "${NAGIOS_HOME}/etc" "/var/log/apache2" "/opt/Custom-Nagios-Plugins" "/opt/nagiosgraph/var" "/opt/nagiosgraph/etc" #COPY overlay/etc ${NAGIOS_HOME}/etc
COPY overlay/opt/nagios/libexec/* ${NAGIOS_HOME}/libexec/
#COPY overlay/usr ${NAGIOS_HOME}/usr
#VOLUME "${NAGIOS_HOME}/var" "${NAGIOS_HOME}/etc" "/var/log/apache2" "/opt/Custom-Nagios-Plugins" "/opt/nagiosgraph/var" "/opt/nagiosgraph/etc"
CMD [ "/usr/local/bin/start_nagios" ] CMD [ "/usr/local/bin/start_nagios" ]