orgstate / infra /deployment /scripts /start_api.sh
Legal-i's picture
Initial OrgState deploy via Stage 150 free-tier stack
d2d1903 verified
#!/usr/bin/env bash
# Start the OrgState API. Env: ORGSTATE_HOST, ORGSTATE_PORT, ORGSTATE_DB_PATH.
set -euo pipefail
exec uvicorn infra.api.app:app \
--host "${ORGSTATE_HOST:-0.0.0.0}" \
--port "${ORGSTATE_PORT:-8080}"