From f5a6851c733fdaf70812d446c9c40335873f3cd6 Mon Sep 17 00:00:00 2001 From: Divyansh Bhardwaj <87605149+Dbhardwaj99@users.noreply.github.com> Date: Tue, 5 Jul 2022 22:29:55 +0530 Subject: [PATCH] Changed the binary Added commands for docker volume creation --- example | Bin run.sh | 5 +---- 2 files changed, 1 insertion(+), 4 deletions(-) mode change 100755 => 100644 example diff --git a/example b/example old mode 100755 new mode 100644 diff --git a/run.sh b/run.sh index e78a4d3..5e8f96e 100755 --- a/run.sh +++ b/run.sh @@ -1,11 +1,8 @@ #!/bin/bash cd /etc/supervisor/conf.d/ +sed -i "s|command=hypercorn -w 1 -b 0.0.0.0:6012 wsgi:app|command=hypercorn -w 1 -b $FLOAPIURL wsgi:app|" /etc/supervisor/conf.d/ftt-ranchimallflo.conf sed -i "s|window.tokenapiUrl = 'https://ranchimallflo.duckdns.org'|window.tokenapiUrl = '$FLOAPIURL'|" /floscout/index.html -#sed -i "s|command=hypercorn -w 1 -b 0.0.0.0:6012 wsgi:app|command=hypercorn -w 1 -b $FLOAPIURL wsgi:app" /etc/supervisor/conf.d/ftt-ranchimallflo.conf - -#cat /floscout/index.html -#cat /etc/supervisor/conf.d/ftt-ranchimallflo.conf echo "running..." #supervisord -c /etc/supervisor/conf.d/ftt-ranchimallflo.conf