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: