#!/bin/sh
set -eu

export HWLAB_SERVICE_ID=hwlab-workbench-api
export HWLAB_SERVICE_ENTRYPOINT=cmd/hwlab-workbench-api/main.ts
export WORKBENCH_API_PORT="${WORKBENCH_API_PORT:-6677}"
export PORT="$WORKBENCH_API_PORT"

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