#!/usr/bin/env bash set -euo pipefail mkdir -p "${LABEL_STUDIO_BASE_DATA_DIR:-/data}" label-studio start \ --host "${LABEL_STUDIO_HOST:-0.0.0.0}" \ --port "${LABEL_STUDIO_PORT:-7860}" \ --data-dir "${LABEL_STUDIO_BASE_DATA_DIR:-/data}" \ --username "${LABEL_STUDIO_USERNAME:-admin@example.com}" \ --password "${LABEL_STUDIO_PASSWORD:-password}" \ --user-token "${LABEL_STUDIO_USER_TOKEN:-rca-admin-token}" \ --no-browser & server_pid=$! python /opt/rca_label_studio/scripts/bootstrap_label_studio.py wait "$server_pid"