Git Product home page Git Product logo

docker-icinga2's Introduction

docker-icinga2

This repository is used as source for the docker image icinga/icinga2 located at Docker Hub.

Requirements

Support

This container is used for demos, tests and development only.

If you encounter bugs, please open a new issue at dev.icinga.org and/or send a patch.

Image details

  • Based on centos:centos7 (similar to the Vagrant boxes)
  • Icinga 2 w/ DB IDO MySQL, Icinga Web 2, MariaDB, Apache2
  • Default installation/credentials. Use at your own risk.

Usage

Start a new container, bind the container's port 80 to localhost:3080 and let the initialization do its job:

$ sudo docker run -ti -p 3080:80 icinga/icinga2

If you want to invoke it manually, go for

$ sudo docker run -ti -p 3080:80 icinga/icinga2 /bin/bash
# /opt/icinga2/initdocker

Container Build

Build a new container based on this repository:

$ sudo docker pull centos:centos7
$ sudo docker build -t icinga/icinga2 .

SSH Access

Even if you can already mount specific volumes there's ssh access available. Make sure to map the port accordingly.

$ sudo docker run -ti -p 3080:80 -p 3022:22 icinga/icinga2

Then login as appuser/appuser. sudo is enabled for this user.

$ ssh appuser@localhost -p 3022

Tools

Icinga 2

The configuration is located in /etc/icinga2 which is exposed as volume from docker.

By default the icinga database is created, and ido-mysql and command features are enabled.

The container startup will validate the configuration once (e.g. if you have mounted the volume).

Icinga Web 2

Icinga Web 2 can be accessed at http://localhost:3080/icingaweb2 w/ icingaadmin:icinga as credentials.

The configuration is located in /etc/icingaweb2 which is exposed as volume from docker.

By default the icingaweb2 database is created including the icingaadmin user. Additional configuration is also added to skip the setup wizard.

Ports

The following ports are exposed: 22, 80, 443, 3306, 5665

Volumes

These volumes can be mounted in order to test and develop various stuff.

/etc/icinga2
/etc/icingaweb2

/var/lib/icinga2
/usr/share/icingaweb2

Thanks

docker-icinga2's People

Contributors

dnsmichi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.