Sanitized mirror from private repository - 2026-04-20 01:32:01 UTC
Some checks failed
Documentation / Build Docusaurus (push) Failing after 5m3s
Documentation / Deploy to GitHub Pages (push) Has been skipped

This commit is contained in:
Gitea Mirror Bot
2026-04-20 01:32:01 +00:00
commit e7652c8dab
1445 changed files with 364095 additions and 0 deletions

17
dashboard/api/start.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
# Launch the Homelab Dashboard API on homelab-vm.
# Sources .env (BAIKAL_PASS etc.) before handing off to uvicorn.
set -euo pipefail
cd "$(dirname "$(readlink -f "$0")")"
if [[ -f .env ]]; then
set -a
# shellcheck disable=SC1091
source ./.env
set +a
fi
exec /usr/bin/python3 /home/homelab/.local/bin/uvicorn main:app \
--host 0.0.0.0 --port "${DASHBOARD_API_PORT:-18888}"