-
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.
Very first images for testing - looks like a problem exist with the B…
…roker!
- Loading branch information
Showing
11 changed files
with
201 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
PYTHON_BASE_VERSION=3.6 | ||
ALIGNAK_IMAGE_TAG=0.0.1 | ||
|
||
DOCKER_REPOSITORY=alignak | ||
DOCKER_SERVICE=alignak | ||
DOCKER_SERVICE_UI=alignak-ui | ||
|
||
ALIGNAK_GIT_REPO=Alignak-monitoring/alignak | ||
SHINKEN_WEBUI_GIT_REPO=mohierf/mod-webui | ||
SHINKEN_UI_GRAPHITE_GIT_REPO=mohierf/mod-ui-graphite | ||
|
||
# Shared with the host | ||
ALIGNAK_DATADIR=./data/alignak | ||
|
||
# In the container | ||
ALIGNAK_SHARE_DIR=/alignak | ||
ALIGNAK_LOG_DIR=/alignak/log | ||
ALIGNAK_RUN_DIR=/alignak/run | ||
ALIGNAK_ETC_DIR=/alignak/etc | ||
ALIGNAK_CONFIGURATION_FILE=/alignak/etc/alignak.ini | ||
|
||
#################### | ||
# Alignak configuration | ||
#################### | ||
# Use Shinken Web UI as the Alignak UI | ||
ALIGNAK_SHINKEN_UI=yes | ||
SHINKEN_UI_DEBUG=yes | ||
|
||
# Alignak retention module configuration | ||
# Override module configuration file! | ||
ALIGNAK_RETENTION_DIR=/alignak/retention | ||
|
||
# Alignak logging more information | ||
#ALIGNAK_LOG_ACTIONS=WARNING | ||
#ALIGNAK_LOG_ALERTS=WARNING | ||
#ALIGNAK_LOG_CHECKS=1 | ||
#ALIGNAK_LOG_ACTIVITY=3600 | ||
|
||
#################### | ||
# Graphite configuration | ||
#################### | ||
GRAPHITE_DATADIR=./data/graphite | ||
|
||
# Tuning - much more is available, see: https://github.com/graphite-project/docker-graphite-statsd | ||
GRAPHITE_WSGI_PROCESSES=4 | ||
GRAPHITE_WSGI_THREADS=2 | ||
GRAPHITE_WSGI_REQUEST_TIMEOUT=65 | ||
GRAPHITE_WSGI_MAX_REQUESTS=1000 | ||
GRAPHITE_WSGI_REQUEST_LINE=0 | ||
|
||
# Log | ||
GRAPHITE_LOG_ROTATION=true | ||
GRAPHITE_LOG_ROTATION_COUNT=1 | ||
GRAPHITE_LOG_RENDERING_PERFORMANCE=true | ||
GRAPHITE_LOG_CACHE_PERFORMANCE=true | ||
|
||
GRAPHITE_DEBUG=false | ||
|
||
COLLECTD=1 | ||
|
||
#################### | ||
# MongoDB variables | ||
#################### | ||
MONGO_DATADIR=./data/mongodb | ||
|
||
# Create a super-user on first database launch | ||
# Disabled! | ||
MONGO_INITDB_ROOT_USERNAME= | ||
MONGO_INITDB_ROOT_PASSWORD= | ||
# Database selected for startup scripts | ||
MONGO_INITDB_DATABASE=alignak | ||
|
||
#################### | ||
# Mongo express configuration | ||
#################### | ||
ME_CONFIG_MONGODB_SERVER=mongodb | ||
ME_CONFIG_MONGODB_ENABLE_ADMIN=true | ||
# Disabled! | ||
ME_CONFIG_MONGODB_ADMINUSERNAME= | ||
ME_CONFIG_MONGODB_ADMINPASSWORD= | ||
ME_CONFIG_OPTIONS_EDITORTHEME=ambiance | ||
ME_CONFIG_BASICAUTH_USERNAME=admin | ||
ME_CONFIG_BASICAUTH_PASSWORD=admin |
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
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,6 +1,15 @@ | ||
FROM alignak/alignak:0.0.1 | ||
ARG ALIGNAK_IMAGE_TAG | ||
|
||
LABEL maintainer="Frédéric Mohier ([email protected])" | ||
FROM alignak/alignak:${ALIGNAK_IMAGE_TAG} | ||
|
||
ARG ALIGNAK_IMAGE_TAG | ||
|
||
ENV ALIGNAK_IMAGE_TAG $ALIGNAK_IMAGE_TAG | ||
|
||
LABEL maintainer="Frédéric Mohier ([email protected])" \ | ||
alignak.image_type="UI" \ | ||
alignak.image.version=$ALIGNAK_IMAGE_TAG \ | ||
alignak.python.version=$PYTHON_BASE_VERSION | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,13 +8,11 @@ ARG ALIGNAK_IMAGE_TAG | |
ENV ALIGNAK_IMAGE_TAG $ALIGNAK_IMAGE_TAG | ||
ENV PYTHON_BASE_VERSION $PYTHON_BASE_VERSION | ||
|
||
LABEL alignak.image.version=$ALIGNAK_IMAGE_TAG \ | ||
LABEL maintainer="Frédéric Mohier ([email protected])" \ | ||
alignak.image_type="Generic" \ | ||
alignak.image.version=$ALIGNAK_IMAGE_TAG \ | ||
alignak.python.version=$PYTHON_BASE_VERSION | ||
|
||
LABEL maintainer="Frédéric Mohier ([email protected])" | ||
|
||
LABEL alignak.image_type="Generic" | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
# Force container timezone | ||
|
@@ -64,4 +62,4 @@ RUN chmod 500 /entrypoint.sh | |
|
||
ENTRYPOINT ["/entrypoint.sh"] | ||
# Run the arbiter in check mode for the configuration in the Alignak directory | ||
CMD ["alignak-arbiter", "-V", "-e", "/repos/alignak/etc/alignak.ini" ] | ||
CMD ["alignak-arbiter", "-V", "-e", "/alignak/etc/alignak.ini" ] |
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