#!/bin/sh
set -eu

export HWLAB_SERVICE_ID=hwlab-tasktree-api
export HWLAB_SERVICE_ENTRYPOINT=cmd/hwlab-tasktree-api/main.ts
export TASKTREE_API_PORT="${TASKTREE_API_PORT:-6673}"
export PORT="$TASKTREE_API_PORT"

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