diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-06-21 08:13:48 +0000 |
---|---|---|
committer | Fiete Ostkamp <fiete.ostkamp@telekom.de> | 2023-06-21 08:16:29 +0000 |
commit | eefbbf1e920764a0244f77a80262d9f682d34963 (patch) | |
tree | 5f04aad4ca12ca6f62ae9951174a9f7107b3fc41 /docker_entrypoint.sh | |
parent | d68841d9f75636575cd778838a8ceea5fd5aada3 (diff) |
Make ui configurable via environment variables
Issue-ID: PORTALNG-4
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I31b968cef23c7727cfd8cfb2ba65691745a0b8f3
Diffstat (limited to 'docker_entrypoint.sh')
-rwxr-xr-x | docker_entrypoint.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docker_entrypoint.sh b/docker_entrypoint.sh index 823086f..4092155 100755 --- a/docker_entrypoint.sh +++ b/docker_entrypoint.sh @@ -24,4 +24,7 @@ set -eu envsubst '${BFF_URL} ${NGINX_PORT} ${KEYCLOAK_URL} ${KEYCLOAK_REALM} ${KEYCLOAK_INTERNAL_URL} ${CLUSTER_NAMESERVER_IP}' < ./nginx.template > /etc/nginx/conf.d/default.conf +# dynamically set Angular environment config upon container startup +envsubst < /usr/share/nginx/html/assets/env.template.js > /usr/share/nginx/html/assets/env.js + exec "$@" |