Support app.settings from environment in Docker image #1838
-
There is currently no easy way to add app.settings when using the Docker image. One has to override postgrest.conf, which seems somewhat complicated. My current workaround is to create pre-request functions that fill in the needed app.settings. Is there a chance that something like this could be implemented:
Where N goes to 9 or some other number depending on how many app settings one assumes people could need. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hey @nerfpops, Ah, I think Wolfgang already solved this one on #1691. Have you tried the latest nightly? You should be able to do:
|
Beta Was this translation helpful? Give feedback.
-
I'm using a nightly from this year so I'm sure it'll work. Thank you, @steve-chavez! |
Beta Was this translation helpful? Give feedback.
Hey @nerfpops,
Ah, I think Wolfgang already solved this one on #1691. Have you tried the latest nightly?
You should be able to do: