-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Images for testing - still some improvements
- Loading branch information
Showing
8 changed files
with
62 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
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
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
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
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
34 changes: 18 additions & 16 deletions
34
docker/data/alignak/etc/base/templates/generic-contact.cfg
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 |
---|---|---|
@@ -1,24 +1,26 @@ | ||
# Default contact definition | ||
define contact{ | ||
name generic-contact | ||
name generic-contact | ||
|
||
# No notifications for hosts/services | ||
host_notifications_enabled 0 | ||
service_notifications_enabled 0 | ||
notificationways log | ||
# No notifications for hosts/services | ||
host_notifications_enabled 0 | ||
service_notifications_enabled 0 | ||
|
||
# Because min_business_impact is set, we must define service_notification_period,... | ||
# else the default created notification ways raise a configuration error! | ||
service_notification_period 24x7 | ||
host_notification_period 24x7 | ||
host_notification_commands notify-host-by-log | ||
service_notification_commands notify-service-by-log | ||
notificationways log | ||
|
||
# Only useful for the UI... | ||
password NOTSET | ||
is_admin 0 | ||
can_submit_commands 0 | ||
# Because min_business_impact is set, we must define service_notification_period,... | ||
# else the default created notification ways raise a configuration error! | ||
service_notification_period 24x7 | ||
host_notification_period 24x7 | ||
host_notification_commands notify-host-by-log | ||
service_notification_commands notify-service-by-log | ||
|
||
# Only useful for the UI... | ||
# Change this default password!!! | ||
password NOTSET | ||
is_admin 0 | ||
can_submit_commands 0 | ||
|
||
# This to say that it's a template | ||
register 0 | ||
register 0 | ||
} |
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 |
---|---|---|
|
@@ -13,6 +13,9 @@ LABEL maintainer="Frédéric Mohier ([email protected])" \ | |
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
# Run as the root user | ||
USER root | ||
|
||
RUN apt-get install -y --no-install-recommends \ | ||
nginx \ | ||
python3-pip \ | ||
|
@@ -43,6 +46,13 @@ RUN cd /repos && \ | |
pip3 install -r requirements.txt && \ | ||
pip3 install . | ||
|
||
# Define some environment variables | ||
ENV ALIGNAK_GROUP "alignak" | ||
ENV ALIGNAK_USER "alignak" | ||
|
||
# Run as the newly created user | ||
USER $ALIGNAK_USER | ||
|
||
# Copy the Nginx global conf | ||
COPY nginx.conf /etc/nginx/ | ||
# Copy the Flask Nginx site conf | ||
|
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