-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker Environment Variables not in emqx.conf #4459
Comments
Could you please show the full command you're using to start the container? |
Hi @N0tronic |
You can test it with for example this flag: |
Thx for prompt reply :-) @zmstone @k32 Hope it´s a bug. I need to see the right configs in the configuration file. Otherwise it´s realy difficult to make configuration work. |
Hi @N0tronic This is a feature not a bug. We are aware of the fact that there is currently a lack of means to inspect configuration overrides.
|
Ok thx, I understand. The new config parsing make sense. Nevertheless it would be nice to have a view of the actual system config in the config file. What speak against it? It´s confusing if the actual system config differ from config file... |
The old The The override rule is simple, environment variable is always the top layer which overrides in-file overrides includes etc. To make the overrides more visible we will log the overrides to console and to emqx logs. |
Thx, you´re right. Maybe only confusing at the beginning of config mechanism change ;-) |
Environment:
What happened and what you expected to happen:
I expect the variable values in config file "etc/emqx.conf" which I'd set as environment variables, but I seen only default values in the config file.
How to reproduce it (as minimally and precisely as possible):
Start the docker container with a environment variable.
Anything else we need to know?:
Seems that the values works that as environments variables set, but can't see that in the config file. Tested by the log.level variable.
The text was updated successfully, but these errors were encountered: