#!/usr/bin/env bash
# Open the status dashboard.
source "$(dirname "${BASH_SOURCE[0]}")/common.sh"
require_docker
URL="http://localhost:${DASHBOARD_PORT:-8090}"
echo "${URL}"
if command -v open >/dev/null 2>&1; then
  open "${URL}"
elif command -v xdg-open >/dev/null 2>&1; then
  xdg-open "${URL}"
fi
