From 0e6f75d2f723718a57c94ae809a26931bb4fdce5 Mon Sep 17 00:00:00 2001 From: Ryan Malloy Date: Sun, 10 May 2026 17:06:35 -0600 Subject: [PATCH] Domain: hai-omni-pro-ii.l.warehack.ing (local subdomain pattern) The .l.warehack.ing subdomain is the convention for the user's local services. DNS for hai-omni-pro-ii.l.warehack.ing already resolves to the host; caddy-docker-proxy picks up the new caddy label and routes appropriately. Patched .env, .env.example, docker-compose.yml, README.md, astro.config.mjs. Container rebuilt and restarted; verified caddy-docker-proxy is serving 200 OK with 33051 bytes of rendered HTML on the internal network, and the host-level Caddy issues a 308 redirect to https:// on the new hostname. --- .env.example | 2 +- README.md | 2 +- astro.config.mjs | 2 +- docker-compose.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 79cad6a..2954781 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,3 @@ # Copy to .env and adjust as needed. COMPOSE_PROJECT=hai-omni-docs -DOMAIN=hai-omni-pro-ii.warehack.ing +DOMAIN=hai-omni-pro-ii.l.warehack.ing diff --git a/README.md b/README.md index 763dda6..fdfb253 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ reverse-engineered Python library and Home Assistant integration for HAI/Leviton Omni Pro II home automation panels. Built with Astro + Starlight, organised around the Diátaxis framework. -Live: +Live: ## Local development diff --git a/astro.config.mjs b/astro.config.mjs index 6073851..26ed6c9 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -5,7 +5,7 @@ import icon from 'astro-icon'; // https://astro.build/config export default defineConfig({ - site: 'https://hai-omni-pro-ii.warehack.ing', + site: 'https://hai-omni-pro-ii.l.warehack.ing', telemetry: false, devToolbar: { enabled: false }, integrations: [ diff --git a/docker-compose.yml b/docker-compose.yml index b916f85..8ccf9b1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,7 @@ services: expose: - "80" labels: - caddy: ${DOMAIN:-hai-omni-pro-ii.warehack.ing} + caddy: ${DOMAIN:-hai-omni-pro-ii.l.warehack.ing} caddy.reverse_proxy: "{{upstreams 80}}" networks: