crypto trading bot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
665 B

sed -i 's/' /usr/src/app/web/vue/dist/UIconfig.js
sed -i 's/localhost/'${HOST}'/g' /usr/src/app/web/vue/dist/UIconfig.js
sed -i 's/3000/'${API_PORT}'/g' /usr/src/app/web/vue/dist/UIconfig.js
sed -i 's/443/'${UI_PORT}'/g' /usr/src/app/web/vue/dist/UIconfig.js
if [[ "${USE_SSL:-0}" == "1" ]] ; then
sed -i 's/ssl: false/ssl: true/g' /usr/src/app/web/vue/dist/UIconfig.js
# This will insert the correct database adapter in both disUI and vueUI
sed -i 's/sqlite/'${DATABASE_ADAPTER}'/g' /usr/src/app/web/vue/dist/UIconfig.js
sed -i 's/sqlite/'${DATABASE_ADAPTER}'/g' /usr/src/app/web/vue/public/UIconfig.js
exec node gekko "$@"