Add Docker Secrets Support

Documentation Update
Add more examples to the compose
This commit is contained in:
Georgiy.Sitnikov@telekom.de 2023-06-27 13:42:19 +02:00
parent f0e15b5c7c
commit 6abd0adb42
3 changed files with 73 additions and 1 deletions

View file

@ -89,6 +89,12 @@ Available options/variables and their default values:
See `config.js` for all options.
#### Using Secrets for Docker
You can set any options/variables via [docker secrets](https://docs.docker.com/compose/use-secrets/) by appending `_FILE` to the variable/option name, e.g. to set `EG_PASSWORD` as secret replace it with `EG_PASSWORD_FILE` and setup secret as described in a docker documentation. You can find example in `docker-compose.yml`.
If you set same options as variables and as secret, secret value will override variable.
#### How to set options
You can add options directly in the command or put them in a file to load.