Allow allowedOrigin to be configured on container startup (#6894)

* This allows allowedOrigin to be configured on container startup

* Allow for all forms of allowedOrigin values

* Update readme.md
This commit is contained in:
Edwin Hermans
2025-03-18 20:00:54 -04:00
committed by GitHub
parent 1cecf84b1b
commit 7a33270e9a
4 changed files with 11 additions and 1 deletions

View File

@@ -70,6 +70,7 @@ ENV SESSION_KEY=""
ENV REVERSE_PROXY="false"
ENV REVERSE_PROXY_TLS_PORT=""
ENV ARGS=""
ENV ALLOWED_ORIGIN="false"
RUN if ! [ -z "$INCLUDE_MONGODBTOOLS" ] && [ "$INCLUDE_MONGODBTOOLS" != "yes" ] && [ "$INCLUDE_MONGODBTOOLS" != "YES" ] \
&& [ "$INCLUDE_MONGODBTOOLS" != "true" ] && [ "$INCLUDE_MONGODBTOOLS" != "TRUE" ]; then \