#!/bin/sh
set -eu

export HWLAB_SERVICE_ID=hwlab-harnessrl-api
export HWLAB_SERVICE_ENTRYPOINT=cmd/hwlab-harnessrl-api/main.ts
export HARNESSRL_API_PORT="${HARNESSRL_API_PORT:-6675}"
export PORT="$HARNESSRL_API_PORT"

exec "${HWLAB_BUN_COMMAND:-bun}" run cmd/hwlab-harnessrl-api/main.ts
