Files
William Gill 5b61caa197 Add deployments/ai-stack — combined production-shape example
Sanitized snapshot of the live srvno.de stack: Caddy + Ollama (with
preseed) + ComfyUI + Open WebUI + Anubis stub. Real hostnames,
secrets, and bcrypt hash replaced with placeholders so the dir is safe
to commit.

Caddyfile updated to point at comfyui:8188 (the source file pointed at
the now-removed forge service). Dropped FIGMENT_/FORGE_/SEGMENT_IMAGE_TAG
from the env example. Harmonised the init-models.sh mount path between
ollama and model-init services.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-19 10:40:41 -05:00

26 lines
1.0 KiB
Caddyfile

{
email you@example.com
}
# ─── chat.example.com — Open WebUI ──────────────────────────────────────────
# Swap `open-webui:8080` for `anubis-owui:8923` once the Anubis sidecar in
# docker-compose.yml is uncommented.
chat.example.com {
reverse_proxy open-webui:8080
}
# ─── comfyui.example.com — ComfyUI native web UI ────────────────────────────
# Open WebUI submits jobs internally over the bridge — this hostname is only
# for direct access to ComfyUI's own UI (workflow editing, custom-node
# install via ComfyUI-Manager, etc.). Basic auth keeps it private; remove
# the block if you don't need to expose it externally at all.
comfyui.example.com {
basic_auth {
# Generate with:
# docker run --rm caddy:latest caddy hash-password --plaintext 'your-password'
comfyui REPLACE_WITH_BCRYPT_HASH
}
reverse_proxy comfyui:8188
}