68 lines
3.1 KiB
YAML
68 lines
3.1 KiB
YAML
---
|
|
# OpenWebUI application role (GNAI-001 milestone 6, first user path).
|
|
# Runs as the Production workload account inside the Production engine
|
|
# network, so it reaches llama.cpp via the network alias without any host
|
|
# port on the engine. The app itself is published on the LAN address only,
|
|
# and the host firewall (gnmon_firewall) restricts it to NPM (10.0.0.10).
|
|
#
|
|
# Image: immutable digest, never a moving tag (GNAI-010 section 3.1).
|
|
# v0.13.3 (2026-11-08), index digest resolved 2026-11-11.
|
|
open_webui_image: ghcr.io/open-webui/open-webui
|
|
open_webui_image_ref: ghcr.io/open-webui/open-webui@sha256:46b59158e6558eeb980bc828e0f1b30238ad24d82ed84d5e5eda1dab2a082f14
|
|
open_webui_image_tag: v0.13.3
|
|
|
|
# Reuses the Production environment identity and network (GNAI-008 7.4).
|
|
open_webui_user: gnai-production
|
|
open_webui_uid: 980
|
|
open_webui_home: /var/lib/ghostnet-ai/production
|
|
open_webui_quadlet_dir: /etc/containers/systemd/users/980
|
|
open_webui_unit_prefix: gnai-production-openwebui
|
|
open_webui_network_name: gnai-production-llama
|
|
# The engine network is Internal=true (no egress). OpenWebUI additionally
|
|
# joins this egress network so it can reach the public OIDC discovery
|
|
# (auth.ghostnet.selfhost.eu) while llama.cpp stays reachable via the
|
|
# internal network only.
|
|
open_webui_egress_network_name: gnai-production-egress
|
|
|
|
# Engine endpoint inside the shared Production network. llama.cpp itself
|
|
# has no auth; OpenWebUI just needs a non-empty key value, supplied via a
|
|
# Podman secret (never in git).
|
|
open_webui_engine_base_url: http://llama-cpp:8080/v1
|
|
open_webui_engine_api_key_secret: openwebui-engine-api-key
|
|
open_webui_webui_secret_key_secret: openwebui-webui-secret-key
|
|
|
|
# App ingress: LAN address, port 8081, firewall-limited to NPM (CT-103).
|
|
open_webui_host_addr: 10.0.0.90
|
|
open_webui_host_port: 8081
|
|
open_webui_container_port: 8080
|
|
|
|
# Persistent app data (SQLite DB, uploads, cache).
|
|
open_webui_data_dir: /var/lib/ghostnet-ai/production/openwebui-data
|
|
|
|
# OIDC phase (M6 public route via NPM + Keycloak). Disabled for the
|
|
# internal phase; enable together with the Keycloak client
|
|
# `gnai-openwebui` and the NPM proxy host chat.ghostnet.selfhost.eu.
|
|
# The client secret is created as a Podman secret by the operator (the
|
|
# Keycloak-generated value never enters git):
|
|
# runuser -u gnai-production -- podman secret create \
|
|
# openwebui-oidc-client-secret -
|
|
open_webui_oidc_enabled: false
|
|
open_webui_oidc_client_id: gnai-openwebui
|
|
open_webui_oidc_client_secret_secret: openwebui-oidc-client-secret
|
|
# Public client with PKCE needs no secret; set true only for a confidential client.
|
|
open_webui_oidc_use_client_secret: false
|
|
open_webui_oidc_provider_url: https://auth.ghostnet.selfhost.eu/realms/Ghost.net/.well-known/openid-configuration
|
|
open_webui_public_url: https://chat.ghostnet.selfhost.eu
|
|
|
|
# Internal phase: local auth with first-user-is-admin. The public OIDC
|
|
# phase (M6 route) switches ENABLE_OAUTH_* on and disables local signup.
|
|
open_webui_env:
|
|
WEBUI_AUTH: "True"
|
|
OPENAI_API_BASE_URL: "{{ open_webui_engine_base_url }}"
|
|
DATA_DIR: /app/backend/data
|
|
ENABLE_SIGNUP: "True"
|
|
DEFAULT_USER_ROLE: user
|
|
ENABLE_OAUTH_SIGNUP: "False"
|
|
ENABLE_LOGIN_FORM: "True"
|
|
ENABLE_RAG_WEB_SEARCH: "False"
|