Update start.sh
This commit is contained in:
parent
163ac4bdf4
commit
e07a69bbf8
@ -4,5 +4,8 @@ set -e
|
|||||||
CONFIG_PATH=/data/options.json
|
CONFIG_PATH=/data/options.json
|
||||||
PRINTER_HOST=$(jq --raw-output ".printer_host" $CONFIG_PATH)
|
PRINTER_HOST=$(jq --raw-output ".printer_host" $CONFIG_PATH)
|
||||||
|
|
||||||
|
echo "PRINTER_HOST: $PRINTER_HOST"
|
||||||
|
|
||||||
cd /app
|
cd /app
|
||||||
|
export PRINTER_HOST
|
||||||
gunicorn app:app --bind 0.0.0.0:6000 --workers=2
|
gunicorn app:app --bind 0.0.0.0:6000 --workers=2
|
||||||
|
Loading…
Reference in New Issue
Block a user