From bb1d4449abedcd09eee9b2a4d568b18a8c1a8d72 Mon Sep 17 00:00:00 2001 From: Paul Bennett Date: Thu, 18 Jul 2024 12:56:49 +0100 Subject: [PATCH] home-page-dashboard updates --- README.md | 16 +++++++++----- docker/code-server/compose.yaml | 1 + docker/home-assistant/README.md | 3 +++ docker/home-assistant/compose.yaml | 15 +++++++++++++ .../apps/homepage-dashboard/config-map.yaml | 22 +++++++++++++------ 5 files changed, 44 insertions(+), 13 deletions(-) create mode 100644 docker/home-assistant/README.md create mode 100644 docker/home-assistant/compose.yaml diff --git a/README.md b/README.md index 46a70e28..bb234b7b 100644 --- a/README.md +++ b/README.md @@ -163,6 +163,11 @@ source: Proxmox Bare Metal hypervisor OS + + + TailScale + Zero config VPN + Terraform @@ -179,12 +184,11 @@ source: ## 🔧 Hardware -| Device | Count | OS Disk Size | Data Disk Size | Ram | Operating System | Purpose | -| ----------------------------- | ----- | ------------ | -------------- | ---- | ---------------- | ------------ | -| UniFi Express | 1 | - | - | - | - | Gateway / AP | -| UniFi CloudKey+ | 1 | - | - | - | - | NVR | -| UniFi Pro Max 16 PoE | 1 | - | - | - | - | PoE switch | -| Lenovo ThinkCentre M720q tiny | 1 | 120GB SSD | 1TB NVMe | 32GB | Proxmox VE | Hypervisor | +| Device | Count | OS Disk Size | Data Disk Size | Ram | Operating System | Purpose | +| ----------------------------- | ----- | ------------ | -------------- | ---- | ---------------- | ------------------ | +| UniFi Cloud Gateway Max 1TB | 1 | - | 1TB NVMe | - | - | Gateway / AP / NVR | +| UniFi Lite 8 PoE | 2 | - | - | - | - | PoE switch | +| Lenovo ThinkCentre M720q tiny | 1 | 120GB SSD | 1TB NVMe | 32GB | Proxmox VE | Hypervisor | --- diff --git a/docker/code-server/compose.yaml b/docker/code-server/compose.yaml index e0597ee3..6113e6b1 100644 --- a/docker/code-server/compose.yaml +++ b/docker/code-server/compose.yaml @@ -12,6 +12,7 @@ services: volumes: - /home/sysadm/.config/vscode/config:/home/coder/config - /home/sysadm/monitoring:/config/workspace/monitoring + - /home/sysadm/home-assistant:/config/workspace/home-assistant ports: - 8443:8443 restart: always diff --git a/docker/home-assistant/README.md b/docker/home-assistant/README.md new file mode 100644 index 00000000..d804b89c --- /dev/null +++ b/docker/home-assistant/README.md @@ -0,0 +1,3 @@ +# Home Assistant + +To edit your HA files use the [SSH remote](https://www.homeautomationguy.io/blog/home-assistant-tips/using-visual-studio-to-edit-your-home-assistant-configuration-yaml-file-over-ssh) extension for VSC diff --git a/docker/home-assistant/compose.yaml b/docker/home-assistant/compose.yaml new file mode 100644 index 00000000..ab5f39ba --- /dev/null +++ b/docker/home-assistant/compose.yaml @@ -0,0 +1,15 @@ +version: '3.9' + +services: + homeassistant: + container_name: homeassistant + image: 'ghcr.io/home-assistant/home-assistant:stable' + volumes: + - /home/sysadm/homeassistant/config:/config + - /etc/localtime:/etc/localtime:ro + - /run/dbus:/run/dbus:ro + restart: unless-stopped + ports: + - 8123:8123 + privileged: true + network_mode: host diff --git a/kubernetes/apps/homepage-dashboard/config-map.yaml b/kubernetes/apps/homepage-dashboard/config-map.yaml index 9640bea5..fd863096 100644 --- a/kubernetes/apps/homepage-dashboard/config-map.yaml +++ b/kubernetes/apps/homepage-dashboard/config-map.yaml @@ -26,14 +26,10 @@ data: style: row columns: 3 - Kubernetes: + Applications: style: row columns: 4 - Docker: - style: row - columns: 3 - custom.css: "" custom.js: "" bookmarks.yaml: | @@ -92,7 +88,7 @@ data: ping: 192.168.7.210 target: _blank - - Kubernetes: + - Applications: - Kubernetes: icon: kubernetes.png href: http://192.168.5.55 @@ -156,7 +152,19 @@ data: - Tailscale: icon: tailscale.svg href: https://login.tailscale.com/admin/machines - description: Secure networking easily + description: Zero config VPN + target: _blank + + - Portainer: + icon: portainer.svg + href: https://192.168.7.70:9443 + description: Docker container mangement + target: _blank + + - Home Assistant: + icon: homeassistant.svg + href: http://192.168.7.70:8123 + description: Home automation target: _blank