Changed the binary
Added commands for docker volume creation
This commit is contained in:
parent
1cc6e32d5e
commit
f5a6851c73
5
run.sh
5
run.sh
@ -1,11 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd /etc/supervisor/conf.d/
|
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|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..."
|
echo "running..."
|
||||||
#supervisord -c /etc/supervisor/conf.d/ftt-ranchimallflo.conf
|
#supervisord -c /etc/supervisor/conf.d/ftt-ranchimallflo.conf
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user