emqx-elixir-plugin icon indicating copy to clipboard operation
emqx-elixir-plugin copied to clipboard

How can I use configs which are set in the runtime.exs

Open steve-at opened this issue 2 years ago • 0 comments

I would like to set the environments for my plugin at runtime. Therefore, I would like to use the config/runtime.exs for configuration. Unfortunately, this is not working, as only the content of the _build/prod/lib/rel/<project_name>/lib is packed into the tar file. Is there a way to use the runtime.exs for configuration, or is there any other way to provide configuration at runtime?

Thanks Stefan

steve-at avatar Jun 28 '23 13:06 steve-at