Files
houston-fe/entrypoint.sh
Pooja Jaiswal 322ea7d219 Tableau (#61)
* Tp 44154 | Tableau integration implemented (#58)

* TP-44154 | Integrating tableau dashboard to houston

* TP-44154 | Tableau dashboard integration implemented

* TP-44154 | resolving pr reviews comments

* TP-44154 | resolving pr comments'2

* TP-44154 | Resolving pr comments'3

* TP-44154_new | QA env fix

* TP-44154 | prettier fix

* TP-44154 | changed route name and header

* TP-44154 | removed scroll, footer  and fixed height

* TP-44154 | added scrolling
2023-10-17 19:39:40 +05:30

13 lines
582 B
Bash

#!/bin/sh
sed -i "s~<AUTH_BASE_URL>~${AUTH_BASE_URL}~g" /usr/share/nginx/html/config.js
sed -i "s~<AUTH_CLIENT_ID>~${AUTH_CLIENT_ID}~g" /usr/share/nginx/html/config.js
sed -i "s~<ENVIRONMENT>~${ENVIRONMENT}~g" /usr/share/nginx/html/config.js
sed -i "s~<BASE_API_URL>~${BASE_API_URL}~g" /usr/share/nginx/html/config.js
sed -i "s~<DISABLE_UNIVERSAL_AUTH>~${DISABLE_UNIVERSAL_AUTH}~g" /usr/share/nginx/html/config.js
sed -i "s~CSP_HEADER~${CSP_HEADER}~g" /etc/nginx/conf.d/nginx.conf
sed -i "s~<TABLEAU_SERVER_URL>~${TABLEAU_SERVER_URL}~g" /usr/share/nginx/html/config.js
exec "$@"