latest
, latest develop release Horizon 2120.0.1-1
, stable Horizon 2020.0.0-1
, stable Horizon 2019.1.0-1
, stable Horizon 1919.0.1-1
, stable Horizon 1919.0.0-1
, stable Horizon 1918.0.4-1
, stable Horizon 1818.0.3-1
, stable Horizon 18foundation-2017
release candidate 18.0.4 as base for Meridianfoundation-2016
release candidate 17.0.1 as base for Meridian
- CentOS 7 with OpenJDK 8u131-jdk
- Official PostgreSQL 9.6.1
- Horizon 20.0.1-1
- CentOS 7 with OpenJDK 8u131-jdk
- Official PostgreSQL 9.6.1
- Horizon 20.0.0-1
- CentOS 7 with OpenJDK 8u131-jdk
- Official PostgreSQL 9.6.1
- Horizon 19.1.0-1
- CentOS 7 with OpenJDK 8u131-jdk
- Official PostgreSQL 9.6.1
- Horizon 19.0.1-1
- CentOS 7 with OpenJDK 8u131-jdk
- Official PostgreSQL 9.6.1
- Horizon 19.0.0-1
- CentOS 7 with OpenJDK 8u121-jdk
- Official PostgreSQL 9.5
- Horizon 18.0.4-1
- CentOS 7 with OpenJDK 8u121-jdk
- Official PostgreSQL 9.5
- Horizon 18.0.3-1
- CentOS 7 with OpenJDK 8u121-jdk
- Official PostgreSQL 9.6.1
- Horizon 18.0.4
- CentOS 7 with OpenJDK 8u121-jdk
- Official PostgreSQL 9.5
- Horizon 17.0.1
This repository provides snapshots for Horizon as docker images. The image provides the Horizon core monitoring services and the web application.
It is recommended to use docker-compose
to build a service stack using the official PostgreSQL images.
In case you have already a PostgreSQL database running, you can provide the database configuration in the .opennms.env
and .postgres.env
environment files.
The compose file uses two data container. They are not running and just for persisting data purposes:
- opennms_data: RRD/JRobin files, logs and configuration files
- db_data: PostgreSQL database files
IMPORTANT:
As long as you don't delete the db_data
and opennms_data
container you keep your data.
For the reason it is required to manually edit OpenNMS configuration files, it is recommended to mount the /opt/opennms/etc
into a local directory on your host system. In case the directory is empty it will be initialized with a plain configuration from etc-pristine
.
Just add the volumes directive in docker-compose.yml
in the opennms service section:
volumes:
- /myhost/opennms/etc:/opt/opennms/etc
- docker 1.11+
- docker-compose 1.8.0+
- git
- optional on MacOSX, Docker environment, e.g. Kitematic, boot2docker or similar
git clone https://github.com/opennms-forge/docker-horizon-core-web.git
cd docker-horizon-core-web
docker-compose up -d
The web application is exposed on TCP port 8980. You can login with default user admin with password admin. Please change immediately the default password to a secure password.
The entrypoint script is used to control starting behavior.
You can provide the following arguments in you docker run
command or in your docker-compose.yml
.
-f: Just start Horizon binary and do nothing else.
-i: Initialize database, pristine configuration files and data directory, do not start Horizon
-s: Initialize database, pristine configuration files and data directory and start Horizon
In case you want to update existing configuration the configuration initialization is guarded by the configured
file in /opt/opennms/etc
.
You can update the database by deleting the configured
file and run with -s
.
Please open issues in the GitHub issue section.