add missing changes in environment description
This commit is contained in:
14
README.md
14
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:
|
||||
|
||||
Reference in New Issue
Block a user