Files
fuelboard-relay/scripts/run.sh
T

16 lines
321 B
Bash
Executable File

#!/bin/bash
# FuelBoard Relay launcher
set -euo pipefail
cd "$(dirname "$0")/.."
if [ ! -f .env ]; then
echo "⚠ No .env found — running in DEMO mode (no credentials)."
fi
set -a
[ -f .env ] && source .env
set +a
PORT="${FUEL_RELAY_PORT:-8788}"
exec python3 -m uvicorn app.main:app --host 0.0.0.0 --port "$PORT"