Files
collection-portal/entrypoint.sh
Mantri Ramkishor 04f1a565c8 TP-53753 | Map Allocation View (#868)
* TP-53753 | Map Allocation View

* TP-53753 | Pins, Search Bar, Filters, lastUpdatedAt, Refresh flow, URL persist Added

* TP-53753 | Actions Added

* TP-53753 | Code Refactored

* TP-53753 | Clickstream Added

* TP-53753 | Inline function removed

* TP-53753 | Code Refactored

* TP-53753 | Code Refactored

* TP-53753 | Code Refactored

* TP-53753 | Code Refactored

* TP-53753 | Minor bug fix

* TP-53753 | Reposition, No data screen, minor enhancements, contract changes

* TP-53753 | Config changes

* TP-53753 | Filter fix

* TP-53753 | Minor fixes

* TP-53753 | Refresh disable

* TP-53753 | Submodule Update

* TP-53753 | Minor Fix

* TP-53753 | Types fix
2024-03-07 18:32:45 +05:30

18 lines
1.2 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~<ALLOCATION_VIEW_GOOGLE_MAP_ID>~${ALLOCATION_VIEW_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 "$@"