#!/bin/sh
set -eu

export HWLAB_SERVICE_ID=hwlab-workbench-worker
export HWLAB_SERVICE_ENTRYPOINT=cmd/hwlab-workbench-worker/main.ts
export WORKBENCH_WORKER_HEALTH_PORT="${WORKBENCH_WORKER_HEALTH_PORT:-6678}"
export PORT="$WORKBENCH_WORKER_HEALTH_PORT"

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