kopia lustrzana https://github.com/bugout-dev/moonstream
10 wiersze
300 B
Bash
10 wiersze
300 B
Bash
|
#!/usr/bin/env sh
|
||
|
|
||
|
# Expects access to Python environment with the requirements for this project installed.
|
||
|
set -e
|
||
|
|
||
|
MOONSTREAM_HOST="${MOONSTREAM_HOST:-0.0.0.0}"
|
||
|
MOONSTREAM_PORT="${MOONSTREAM_PORT:-7481}"
|
||
|
|
||
|
uvicorn --port "$MOONSTREAM_PORT" --host "$MOONSTREAM_HOST" moonstream.api:app --workers 2 $@
|