Changed the binary

Added commands for docker volume creation
This commit is contained in:
Divyansh Bhardwaj 2022-07-05 22:29:55 +05:30
parent 1cc6e32d5e
commit f5a6851c73
2 changed files with 1 additions and 4 deletions

0
example Executable file → Normal file
View File

5
run.sh
View File

@ -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