omni-pca-docs/docker-compose.yml
Ryan Malloy 0e6f75d2f7 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.
2026-05-10 17:06:35 -06:00

20 lines
424 B
YAML

services:
docs:
build:
context: .
dockerfile: Dockerfile
image: ${COMPOSE_PROJECT:-hai-omni-docs}/docs:latest
container_name: ${COMPOSE_PROJECT:-hai-omni-docs}-docs
restart: unless-stopped
networks:
- caddy
expose:
- "80"
labels:
caddy: ${DOMAIN:-hai-omni-pro-ii.l.warehack.ing}
caddy.reverse_proxy: "{{upstreams 80}}"
networks:
caddy:
external: true