Files
comfyui-nvidia/deployments/ai-stack/.env.example
T
57_WolveandClaude Opus 4.7 0ad99b6199 Add comfyui-model-init sidecar for ComfyUI model preseeding
Mirrors the Ollama model-init pattern: a one-shot Alpine container that
mounts the comfyui-models volume and runs comfyui-init-models.sh, which
curls direct download URLs (HuggingFace by default) into the right
subdirectories. Idempotent — already-present files are skipped.

HF_TOKEN is plumbed through for gated repos (Flux-dev, SD3, etc.) and is
opt-in via .env. The default list ships SD 1.5 only, matching the
placeholder filename in workflows/*.json. Examples for SDXL, Flux, and
upscalers are commented in the script.

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

30 lines
1.2 KiB
Bash

# Copy to .env and fill in. docker compose picks .env up automatically.
# Never commit the populated .env — it's in .gitignore at repo root.
# Public URL Open WebUI is reached at, with scheme. Used for auth redirects
# and email-link generation.
WEBUI_URL=https://chat.example.com
# Bare hostname (no scheme) for the same Open WebUI host. Used as the cookie
# domain by the Anubis sidecar so its session cookie scopes correctly.
LLM_URL=chat.example.com
# Cookie-signing key for Open WebUI sessions. Generate once with:
# openssl rand -hex 32
# Must stay stable across restarts — rotating it logs every user out.
WEBUI_SECRET_KEY=replace-with-32-byte-hex
# Ed25519 private key (hex) for the Anubis PoW sidecar. Generate with:
# openssl rand -hex 32
# Only needed if you uncomment the anubis-owui service in docker-compose.yml.
ANUBIS_OWUI_KEY=replace-with-32-byte-hex
# ComfyUI image tag to deploy. `latest` tracks whatever the release workflow
# last pushed; pin to a v* tag (e.g. 0.1.0) for reproducible deploys.
COMFYUI_IMAGE_TAG=latest
# HuggingFace access token. Only needed if comfyui-init-models.sh references
# gated repos (Flux-dev, SD3, etc.). Generate a read token at
# https://huggingface.co/settings/tokens. Leave empty for public-only.
HF_TOKEN=