opennms-forge / docker-horizon-core-web

🐳 Core and Web application service for Horizon by OpenNMS
MIT License
30 stars 19 forks source link

Added cassandra newts configuration for OpenNMS docker images #23

Closed gallenc closed 6 years ago

gallenc commented 6 years ago

This pull request adds the possibility to automatically run a container with Cassandra/newts. Additional commands are provided in the docker-entrypoint.sh to configure OpenNMS to run with Newts enabled: -n: Initialize newts (cassandra) as well the initialisation steps in -i above. -c: Initialize environment like -n and start OpenNMS in foreground using newts (cassandra).

Additional Newts/cassandra configuration options are are in .opennms.env. These are used to populate a newts properties file in /opt/opennms/etc/opennms.properties.d

An example docker-compose file is also provided opennms-cassandra-helm.yml which runs OpenNMS with Cassandra and helm.

indigo423 commented 6 years ago

@gallenc Just had a look at your PR. Really nice I got it work in my test environment. Would be happy to get your thoughts on the comments above.

indigo423 commented 6 years ago

Reopened as a feature branch in #25