From b7f61a06635731e552d586e389eaf86055e48d99 Mon Sep 17 00:00:00 2001
From: anima
Date: Sat, 1 Feb 2025 14:15:37 +0100
Subject: [PATCH] add missing changes in environment description
---
README.md | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 6be7332..7cc32f3 100644
--- a/README.md
+++ b/README.md
@@ -18,14 +18,20 @@ For a full deployment see: [comming soon ...]()
## understand environment
For the configuration (primarily the initial setup) I use a similar method as: https://hub.docker.com/r/icinga/icingaweb2
-* In my case a prefix like `ICINGAWEB2_CONF` refers a configuration file.
-* After the first `.` it follows the `Section` from this ini file.
-* After the second `.` it follows the `Key` from this `Section` before.
+* In my case a prefix like `ICINGAWEB2_CONF` refers a configuration file.
+* As a separator I no (longer) use `.` rather `__` (2x `_`)
+* After the first `__` it follows the `Section` from this ini file.
+* After the second `__` it follows the `Key` from this `Section` before.
* And after the `=` is comes the `value`.
+* As long as you don't need `.` in `Section`'s or `Key`'s you can use both spellings of docker compose environment
So will this:
```
-ICINGAWEB2_CONF.global.config_backend=db
+ICINGAWEB2_CONF__global__config_backend=db
+```
+or
+```
+ICINGAWEB2_CONF__global__config_backend: db
```
create this: