unwind/scripts/server

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
209 B
Text
Raw Normal View History

#!/bin/sh -eu
: "${UNWIND_PORT:=8097}"
2021-06-21 18:54:03 +02:00
cd "$RUN_DIR"
[ -z "${DEBUG:-}" ] || set -x
export UNWIND_PORT
exec uvicorn \
--host 0.0.0.0 \
--port "$UNWIND_PORT" \
--factory \
unwind:create_app