Externalise WEBUI_URL / LLM_URL to .env
release / Build & Push Docker Image (push) Successful in 31m43s
release / Build & Push Docker Image (push) Successful in 31m43s
So changing the deployment's hostnames is a one-file edit (.env) instead of touching docker-compose.yml. WEBUI_URL is the full URL with scheme (Open WebUI uses it for auth redirects); LLM_URL is the bare hostname (Anubis wants it for COOKIE_DOMAIN). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
97547c783c
commit
21e976e275
3 files changed
+17
-7
No files matched your search
@@ -44,9 +44,13 @@ cp .env.example .env
|
||||
|
||||
Then edit:
|
||||
|
||||
- **`.env`** — fill in `WEBUI_SECRET_KEY` and (if using Anubis) `ANUBIS_OWUI_KEY`.
|
||||
Optionally pin `COMFYUI_IMAGE_TAG` to a specific `v*` release instead of
|
||||
`latest`.
|
||||
- **`.env`** — fill in:
|
||||
- `WEBUI_URL` (full URL with scheme) and `LLM_URL` (bare hostname). Both
|
||||
point at the same Open WebUI host; Open WebUI wants the URL form for
|
||||
auth redirects, Anubis wants the bare hostname for its cookie domain.
|
||||
- `WEBUI_SECRET_KEY` and (if using Anubis) `ANUBIS_OWUI_KEY` —
|
||||
`openssl rand -hex 32` for each.
|
||||
- Optionally pin `COMFYUI_IMAGE_TAG` to a specific `v*` release.
|
||||
- **`Caddyfile`** — replace the `chat.example.com` and `comfyui.example.com`
|
||||
hostnames with yours; replace `REPLACE_WITH_BCRYPT_HASH` with a real
|
||||
bcrypt hash:
|
||||
@@ -57,8 +61,6 @@ Then edit:
|
||||
- **`init-models.sh`** — keep the LLMs you want preseeded, drop the rest.
|
||||
Check sizes at <https://ollama.com/library> first; the host needs disk
|
||||
for everything listed.
|
||||
- **`docker-compose.yml`** — update `WEBUI_URL` and `COOKIE_DOMAIN` to
|
||||
match the hostnames you set in the Caddyfile.
|
||||
|
||||
## 3. Bring it up
|
||||
|
||||
|
||||
Reference in new issue
Block a user