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.
This commit is contained in:
parent
9dbe563aed
commit
0e6f75d2f7
@ -1,3 +1,3 @@
|
|||||||
# Copy to .env and adjust as needed.
|
# Copy to .env and adjust as needed.
|
||||||
COMPOSE_PROJECT=hai-omni-docs
|
COMPOSE_PROJECT=hai-omni-docs
|
||||||
DOMAIN=hai-omni-pro-ii.warehack.ing
|
DOMAIN=hai-omni-pro-ii.l.warehack.ing
|
||||||
|
|||||||
@ -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
|
Omni Pro II home automation panels. Built with Astro + Starlight, organised
|
||||||
around the Diátaxis framework.
|
around the Diátaxis framework.
|
||||||
|
|
||||||
Live: <https://hai-omni-pro-ii.warehack.ing>
|
Live: <https://hai-omni-pro-ii.l.warehack.ing>
|
||||||
|
|
||||||
## Local development
|
## Local development
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@ import icon from 'astro-icon';
|
|||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: 'https://hai-omni-pro-ii.warehack.ing',
|
site: 'https://hai-omni-pro-ii.l.warehack.ing',
|
||||||
telemetry: false,
|
telemetry: false,
|
||||||
devToolbar: { enabled: false },
|
devToolbar: { enabled: false },
|
||||||
integrations: [
|
integrations: [
|
||||||
|
|||||||
@ -11,7 +11,7 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- "80"
|
- "80"
|
||||||
labels:
|
labels:
|
||||||
caddy: ${DOMAIN:-hai-omni-pro-ii.warehack.ing}
|
caddy: ${DOMAIN:-hai-omni-pro-ii.l.warehack.ing}
|
||||||
caddy.reverse_proxy: "{{upstreams 80}}"
|
caddy.reverse_proxy: "{{upstreams 80}}"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user