Skip to content

Commit 90d11bd

Browse files
committed
updates
1 parent 5413748 commit 90d11bd

6 files changed

Lines changed: 16 additions & 9 deletions

File tree

.env.openwebui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ OPENWEBUI_DEFAULT_ROLE=user
2222
# ── LiteLLM Connection ──────────────────────────────────────
2323
# Master key for the LiteLLM proxy (must match your LiteLLM deployment)
2424
# [REQUIRED] - copy from your existing .env.auth LITELLM_MASTER_KEY
25-
LITELLM_MASTER_KEY=your-litellm-master-key-here
25+
LITELLM_MASTER_KEY=d85bcec2690d3f12779c0690d26d16370e434c0d7422bef5c5105f0a39b36a3a
2626

2727
# ── Keycloak SSO (OIDC) ─────────────────────────────────────
2828
# These connect Open WebUI to your existing Keycloak instance.

backend/openwebui_api.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,6 @@ async def seed_app_records(request: Request):
582582
if existing:
583583
results["add_ons"] = "already_exists"
584584
else:
585-
import uuid
586585
features_json = json.dumps([
587586
"Multi-model AI chat",
588587
"Conversation history & search",
@@ -592,12 +591,11 @@ async def seed_app_records(request: Request):
592591
"Model switching",
593592
])
594593
await conn.execute("""
595-
INSERT INTO add_ons (id, name, slug, description, icon_url, launch_url,
594+
INSERT INTO add_ons (name, slug, description, icon_url, launch_url,
596595
category, feature_key, base_price, billing_type,
597596
is_active, sort_order, features)
598-
VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13::jsonb)
597+
VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12::jsonb)
599598
""",
600-
str(uuid.uuid4()),
601599
"Unicorn Chat",
602600
"open-webui",
603601
"AI Chat Interface with multi-model support, RAG, and SSO",

docker-compose.openwebui.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
services:
1313
# Open WebUI - Chat interface for LLMs
1414
unicorn-open-webui:
15-
image: ghcr.io/open-webui/open-webui:main
15+
image: ghcr.io/open-webui/open-webui:v0.8.2
1616
container_name: unicorn-open-webui
1717
restart: unless-stopped
1818
ports:

keycloak-theme/uc-1-pro/login/info.ftl

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</#list>
1414
</#if>
1515

16-
<title>${msg("loginTitle")}</title>
16+
<title>${msg("loginTitle",(realm.displayName!''))}</title>
1717
<link rel="icon" href="${url.resourcesPath}/img/favicon.ico" />
1818

1919
<#if properties.stylesCommon?has_content>
@@ -55,7 +55,7 @@
5555
<img src="${url.resourcesPath}/img/colonel-logo.png" alt="The Colonel" class="uc1-logo" />
5656
</div>
5757
<h1 id="kc-page-title" class="uc1-title">
58-
${msg("loginTitle")}
58+
${msg("loginTitle",(realm.displayName!''))}
5959
</h1>
6060
</header>
6161

@@ -122,8 +122,12 @@
122122
<a href="${actionUri}" class="btn btn-primary btn-block btn-lg uc1-submit-btn">
123123
${kcSanitize(actionUriText)?no_esc}
124124
</a>
125+
<#elseif client?? && client.baseUrl?has_content>
126+
<a href="${client.baseUrl}" class="btn btn-primary btn-block btn-lg uc1-submit-btn">
127+
${msg("backToApplication")}
128+
</a>
125129
<#else>
126-
<a href="${url.loginRestartFlowUrl}" class="btn btn-primary btn-block btn-lg uc1-submit-btn">
130+
<a href="${properties.appUrl!'https://kubeworkz.io'}" class="btn btn-primary btn-block btn-lg uc1-submit-btn">
127131
${msg("backToApplication")}
128132
</a>
129133
</#if>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# UC-1 Pro Theme - Custom Messages
2+
backToApplication=\u00ab Back to Application

keycloak-theme/uc-1-pro/login/theme.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ styles=css/login.css
1717

1818
# Locale support
1919
locales=en
20+
21+
# Default application URL (fallback for post-logout redirect)
22+
appUrl=https://kubeworkz.io

0 commit comments

Comments
 (0)