add grafana module
All checks were successful
build container icingaweb2 / build (push) Successful in 4m2s

This commit is contained in:
2025-02-01 14:59:43 +01:00
parent 4656400214
commit ea28005bc9
4 changed files with 29 additions and 6 deletions

View File

@@ -15,6 +15,7 @@ docker compose up -d
For a full deployment see: [comming soon ...]()
If you run the setup without any environment vars the setup token will be printet in docker log!
## understand environment
For the configuration (primarily the initial setup) I use a similar method as: https://hub.docker.com/r/icinga/icingaweb2
@@ -66,16 +67,16 @@ ICINGAWEB2_GRAFANA_GRAPH | grafana | /etc/icingaweb2/modules/grafana/graphs.ini
### static vars
var | description
--- | ---
ICINGAWEB2_CONF_ONCE | if true: all configuration setups (above) run only on fist setup.
ICINGAWEB2_DB_RESOURCE_NAME | needed for setup scrip to know witch database is used for users
ICINGAWEB2_DEFAULT_ADMIN_USER | default admin username
ICINGAWEB2_CONF_ONCE | if var exists: all configuration setups (above) run only on fist setup.
ICINGAWEB2_DB_RESOURCE_NAME | needed for setup script to know witch database is used for users
ICINGAWEB2_DEFAULT_ADMIN_USER | default admin username addidional this var is primary identifier to run auto config
ICINGAWEB2_DEFAULT_ADMIN_PASS | default admin password
### easy setup
If you use the example, than you kan setup the `env.sample`.
If you use the example, than you can setup the `env.sample`.
All required variables are included and insert the values in the correct places.
Hint: in this file all vars dont have the `2` behind icingaweb2 or icinga.
Hint: in this file all vars dont have the `2` behind icingaweb2 or icinga2.
Vars for the container have the `2`
## example