[PORTAL] Homepage: две вкладки Дом/Админ, 21 сервис с виджетами, конфиг в репозитории (ключи замаскированы)
This commit is contained in:
1 parent
f7b0231a8e
commit
5b1f4eb6fd
3 files changed
+130
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# Homepage — панель дома
|
||||
|
||||
Контейнер `homepage` в CT102 (портал), порт **3000**, рядом с Dashy (8080).
|
||||
|
||||
## Две вкладки
|
||||
|
||||
- **Дом** — бытовые сервисы: кино, продукты, документы, камеры, фото, книги,
|
||||
музыка, умный дом, «Комнаты» (план дома с рендерами), «Моё».
|
||||
- **Админ** — работа и система: дашборд хаба, комбайн, проекты ВКС, LLM-сбор,
|
||||
Gitea, Nextcloud, Vaultwarden, Grafana, мониторинг, Dashy (карта всех сервисов).
|
||||
|
||||
## Важные ловушки
|
||||
|
||||
1. **`HOMEPAGE_ALLOWED_HOSTS`** обязателен, иначе страница отдаёт **400**
|
||||
(`Host validation failed`). В контейнере задано:
|
||||
`192.168.1.102:3000,dash.buryans.ru,localhost`.
|
||||
2. Виджеты `customapi` не принимают `mappings` с вложенным `field:` —
|
||||
YAML валиден, но Homepage падает с `bad indentation`. Проверять логи
|
||||
контейнера после каждой правки: `docker logs homepage | grep -i error`.
|
||||
3. Ключи в этом каталоге **замаскированы**; рабочие лежат в
|
||||
`/opt/homepage/config/` на CT102.
|
||||
@@ -0,0 +1,94 @@
|
||||
- Дом:
|
||||
- Кино:
|
||||
icon: mdi-movie-open
|
||||
href: https://media.buryans.ru
|
||||
description: Jellyfin · фильмы и сериалы
|
||||
- Продолжить:
|
||||
icon: mdi-play-circle
|
||||
widget:
|
||||
type: jellyfin
|
||||
url: http://192.168.1.103:8096
|
||||
key: <из .env на CT102>
|
||||
- Продукты:
|
||||
icon: mdi-cart
|
||||
href: http://192.168.1.110:9283
|
||||
widget:
|
||||
type: grocy
|
||||
url: http://192.168.1.110:9283
|
||||
key: <из .env на CT102>
|
||||
- Документы:
|
||||
icon: mdi-file-document
|
||||
href: https://paperless.buryans.ru
|
||||
widget:
|
||||
type: paperlessngx
|
||||
url: http://192.168.1.105:8000
|
||||
key: <из .env на CT102>
|
||||
- Камеры:
|
||||
icon: mdi-cctv
|
||||
href: http://192.168.1.110:4197
|
||||
description: Frigate
|
||||
- Фото:
|
||||
icon: mdi-image-multiple
|
||||
href: https://photos.buryans.ru
|
||||
description: Immich
|
||||
- Книги:
|
||||
icon: mdi-book-open-page-variant
|
||||
href: http://192.168.1.111:9982
|
||||
description: Calibre-Web
|
||||
- Музыка:
|
||||
icon: mdi-music
|
||||
href: http://192.168.1.110:4533
|
||||
description: Navidrome
|
||||
- Умный дом:
|
||||
icon: mdi-home-automation
|
||||
href: https://home.buryans.ru
|
||||
description: Home Assistant
|
||||
- Комнаты:
|
||||
icon: mdi-floor-plan
|
||||
href: http://192.168.1.10:9120/home
|
||||
description: план дома · рендеры
|
||||
- Моё:
|
||||
icon: mdi-account
|
||||
href: http://192.168.1.10:9120/me
|
||||
description: сводка дня
|
||||
|
||||
- Админ:
|
||||
- Дашборд:
|
||||
icon: mdi-view-dashboard
|
||||
href: http://192.168.1.10:9120/dash
|
||||
description: живая сводка хаба
|
||||
- Комбайн:
|
||||
icon: mdi-projector
|
||||
href: http://192.168.1.10:8096
|
||||
description: проекты ВКС · BOM · схемы
|
||||
- Проекты ВКС:
|
||||
icon: mdi-office-building
|
||||
widget:
|
||||
type: customapi
|
||||
url: http://192.168.1.10:8103/list
|
||||
- LLM-сбор:
|
||||
icon: mdi-robot
|
||||
widget:
|
||||
type: customapi
|
||||
url: http://192.168.1.10:9120/dash_llm
|
||||
- Gitea:
|
||||
icon: mdi-git
|
||||
href: https://git.buryans.ru
|
||||
description: репозитории · CI
|
||||
- Nextcloud:
|
||||
icon: mdi-cloud
|
||||
href: https://cloud.buryans.ru
|
||||
- Хранилище паролей:
|
||||
icon: mdi-shield-key
|
||||
href: https://vault.buryans.ru
|
||||
- Графана:
|
||||
icon: mdi-chart-line
|
||||
href: http://192.168.1.110:4198
|
||||
- Мониторинг:
|
||||
icon: mdi-heart-pulse
|
||||
href: https://status.buryans.ru
|
||||
description: Uptime Kuma
|
||||
- Ссылки (Dashy):
|
||||
icon: mdi-apps
|
||||
href: http://192.168.1.102:8080
|
||||
description: карта всех сервисов
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
title: Buryans Hub
|
||||
language: ru
|
||||
theme: dark
|
||||
color: slate
|
||||
headerStyle: clean
|
||||
statusStyle: dot
|
||||
hideVersion: true
|
||||
layout:
|
||||
- Дом:
|
||||
style: row
|
||||
columns: 5
|
||||
- Админ:
|
||||
style: row
|
||||
columns: 5
|
||||
Reference in new issue
Block a user