Files
collection-portal/entrypoint.sh
Varnit Goyal dd7d73403e Tp 35796/live agents tracking (#510)
* TP:00000| hello

* TP-35796/live-agents-tracking

* TP-35796/live-agents-tracking

* TP-35796 | markers and tooltip

* TP-35796 | filters and api integreations

* TP-35796 | mock data

* TP-35796 | filters and pin api integration

* TP-35796 | api integrations

* TP-35796 | submodule update

* TP-35796 | loading states plus autoselect

* TP-35796 | replaced redux with async storage

* TP-35796 | fixes

* TP-35796 | replaced redux with async storage

* TP-35796 | fixed pr reviews etc

* TP-35796 | fixed pr reviews etc

* TP-35796 | changed activity time window to 10

* TP-35796 | changed activity time window to 10

* TP-35796 | clickstream events added

* TP-35796 | contract fixes

* TP-35796 | fix

* TP-35796| config change

* TP-35796| config change

* TP-35796| config change

* TP-35796| new node version

* TP-35796 | fix

* TP-35796| new node version

* TP-35796| new node version

* TP-35796 | fix

* TP-35796 | fix

* TP-35796| new node version

* TP-35796 | fixed location not found and zoom level

---------

Co-authored-by: Aman Chaturvedi <aman.chaturvedi@navi.com>
2023-08-08 18:54:34 +05:30

17 lines
1.0 KiB
Bash

#!/bin/sh
sed -i "s~<BFF_SERVICE_BASE_URL>~${BFF_SERVICE_BASE_URL}~g" /usr/share/nginx/html/configuration.js
sed -i "s~NGINX_PROXY_BASE_URL~${NGINX_PROXY_BASE_URL}~g" /etc/nginx/conf.d/nginx.conf
sed -i "s~<APM_BASE_URL>~${APM_BASE_URL}~g" /usr/share/nginx/html/configuration.js
sed -i "s~<APM_APP_NAME>~${APM_APP_NAME}~g" /usr/share/nginx/html/configuration.js
sed -i "s~<AUTH_BASE_URL>~${AUTH_BASE_URL}~g" /usr/share/nginx/html/configuration.js
sed -i "s~<AUTH_CLIENT_ID>~${AUTH_CLIENT_ID}~g" /usr/share/nginx/html/configuration.js
sed -i "s~<SENTRY_DSN>~${SENTRY_DSN}~g" /usr/share/nginx/html/configuration.js
sed -i "s~<ENABLE_SSO>~${ENABLE_SSO}~g" /usr/share/nginx/html/configuration.js
sed -i "s~<GOOGLE_CAPTCHA_SITE_KEY>~${GOOGLE_CAPTCHA_SITE_KEY}~g" /usr/share/nginx/html/configuration.js
sed -i "s~<GOOGLE_MAPS_KEY>~${GOOGLE_MAPS_KEY}~g" /usr/share/nginx/html/configuration.js
sed -i "s~<GOOGLE_MAP_ID>~${GOOGLE_MAP_ID}~g" /usr/share/nginx/html/configuration.js
sed -i 's~<CONFIGURATION_FILE>~/configuration.js~g' /usr/share/nginx/html/index.html
exec "$@"