forked from JasonRivers/Docker-Nagios
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,40 +5,40 @@ ARG BUILDKIT_SBOM_SCAN_STAGE=true | |
FROM ubuntu:22.04 | ||
|
||
LABEL name="Nagios" | ||
LABEL nagiosVersion="4.5.3" | ||
LABEL nagiosPluginsVersion="2.4.10" | ||
LABEL nrpeVersion="4.1.0" | ||
LABEL nscaVersion="2.10.2" | ||
LABEL nagiosVersion="4.5.4" | ||
LABEL nagiosPluginsVersion="2.4.11" | ||
LABEL nrpeVersion="4.1.1" | ||
LABEL nscaVersion="2.10.3" | ||
LABEL ncpaVersion="3.1.0" | ||
LABEL nagiostvVersion="0.9.2" | ||
LABEL homepage="https://www.nagios.com/" | ||
LABEL maintainer="Tronyx <[email protected]>" | ||
|
||
# Environment variables | ||
ENV NAGIOS_HOME /opt/nagios | ||
ENV NAGIOS_USER nagios | ||
ENV NAGIOS_GROUP nagios | ||
ENV NAGIOS_CMDUSER nagios | ||
ENV NAGIOS_CMDGROUP nagios | ||
ENV NAGIOS_FQDN nagios.example.com | ||
ENV NAGIOSADMIN_USER nagiosadmin | ||
ENV NAGIOSADMIN_PASS nagios | ||
ENV APACHE_RUN_USER nagios | ||
ENV APACHE_RUN_GROUP nagios | ||
ENV APACHE_LOCK_DIR /var/run | ||
ENV APACHE_LOG_DIR /var/log/apache2 | ||
ENV NAGIOS_TIMEZONE UTC | ||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV NG_CGI_URL /cgi-bin | ||
ENV NG_NAGIOS_CONFIG_FILE ${NAGIOS_HOME}/etc/nagios.cfg | ||
ENV NG_CGI_DIR ${NAGIOS_HOME}/sbin | ||
ENV NG_WWW_DIR ${NAGIOS_HOME}/share/nagiosgraph | ||
ENV NAGIOS_BRANCH nagios-4.5.3 | ||
ENV NAGIOS_PLUGINS_BRANCH release-2.4.10 | ||
ENV NRPE_BRANCH nrpe-4.1.0 | ||
ENV NSCA_TAG nsca-2.10.2 | ||
ENV NCPA_BRANCH v3.1.0 | ||
ENV NAGIOSTV_VERSION 0.9.2 | ||
ENV NAGIOS_HOME=/opt/nagios | ||
ENV NAGIOS_USER=nagios | ||
ENV NAGIOS_GROUP=nagios | ||
ENV NAGIOS_CMDUSER=nagios | ||
ENV NAGIOS_CMDGROUP=nagios | ||
ENV NAGIOS_FQDN=nagios.example.com | ||
ENV NAGIOSADMIN_USER=nagiosadmin | ||
ENV NAGIOSADMIN_PASS=nagios | ||
ENV APACHE_RUN_USER=nagios | ||
ENV APACHE_RUN_GROUP=nagios | ||
ENV APACHE_LOCK_DIR=/var/run | ||
ENV APACHE_LOG_DIR=/var/log/apache2 | ||
ENV NAGIOS_TIMEZONE=UTC | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
ENV NG_CGI_URL=/cgi-bin | ||
ENV NG_NAGIOS_CONFIG_FILE=${NAGIOS_HOME}/etc/nagios.cfg | ||
ENV NG_CGI_DIR=${NAGIOS_HOME}/sbin | ||
ENV NG_WWW_DIR=${NAGIOS_HOME}/share/nagiosgraph | ||
ENV NAGIOS_BRANCH=nagios-4.5.4 | ||
ENV NAGIOS_PLUGINS_BRANCH=release-2.4.11 | ||
ENV NRPE_BRANCH=nrpe-4.1.1 | ||
ENV NSCA_TAG=nsca-2.10.3 | ||
ENV NCPA_BRANCH=v3.1.0 | ||
ENV NAGIOSTV_VERSION=0.9.2 | ||
|
||
RUN echo postfix postfix/main_mailer_type string "'Internet Site'" | debconf-set-selections && \ | ||
echo postfix postfix/mynetworks string "127.0.0.0/8" | debconf-set-selections && \ | ||
|