Maybe I am reading this wrong or doing this wrong?
app.yml , I added a custom env var:
env: DISCOURSE_MY_ENV_TEST: app
and rebuilt the container with a little custom plugin where I dumped all the site settings like this:
and it nicely dumps all the site settings to the console as expected; but the custom env: var I set in
app.yml do not seem to make it to site settings, as I expected.
Am I doing this wrong?
The reason I ask was I found this topic, searching and looking for a simple way to get env vars into the application so I can use in my plugin; and thought you may be saying that we can do this as described by adding them to the
app.yml file; but it’s not working as expected.
PS: Sorry for resurrecting this old topic, but it seemed the closest match based on searching the site and I thought maybe replying here might be better than starting a new topic.