补充 Docker 配置与登录页品牌修改
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
ARG BASE_IMAGE=nousresearch/hermes-agent:latest
|
||||
ARG BASE_IMAGE=xinmi/hermes-agent:latest
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
ARG NODE_VERSION=24.15.0
|
||||
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
services:
|
||||
hermes-webui:
|
||||
xinmi-hermes-ui:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: ${WEBUI_IMAGE:-hermes-web-ui-local:latest}
|
||||
container_name: ${WEBUI_CONTAINER_NAME:-hermes-webui}
|
||||
image: ${WEBUI_IMAGE:-xinmi-hermes-ui:latest}
|
||||
container_name: ${WEBUI_CONTAINER_NAME:-xinmi-hermes-ui}
|
||||
ports:
|
||||
- "${PORT:-6060}:${PORT:-6060}"
|
||||
- "${PREVIEW_FRONTEND_PORT:-8651}:8651"
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "hermes-web-ui",
|
||||
"name": "xinmi-hermes-ui",
|
||||
"version": "0.6.8",
|
||||
"description": "Self-hosted AI chat dashboard for Hermes Agent — multi-model web UI with multi-platform integration",
|
||||
"repository": {
|
||||
@@ -30,7 +30,7 @@
|
||||
"typescript"
|
||||
],
|
||||
"bin": {
|
||||
"hermes-web-ui": "./bin/hermes-web-ui.mjs"
|
||||
"xinmi-hermes-ui": "./bin/hermes-web-ui.mjs"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "vite --host --port 8648",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export default {
|
||||
// Login
|
||||
login: {
|
||||
title: 'Hermes Web UI',
|
||||
title: '新觅 Web UI',
|
||||
description: 'Enter your username and password to continue.',
|
||||
placeholder: 'Access token',
|
||||
submit: 'Login',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export default {
|
||||
// 登录
|
||||
login: {
|
||||
title: 'Hermes Web UI',
|
||||
title: '新觅 Web UI',
|
||||
description: '输入用户名和密码以继续。',
|
||||
placeholder: '访问令牌',
|
||||
submit: '登录',
|
||||
|
||||
@@ -62,7 +62,7 @@ async function handlePasswordLogin() {
|
||||
<div class="login-view">
|
||||
<div class="login-card">
|
||||
<div class="login-logo">
|
||||
<img src="/logo.png" alt="Hermes" width="80" height="80" />
|
||||
<img src="/logo.png" alt="新觅源码库" width="80" height="80" />
|
||||
</div>
|
||||
<h1 class="login-title">{{ t("login.title") }}</h1>
|
||||
<p class="login-desc">{{ t("login.description") }}</p>
|
||||
@@ -87,9 +87,9 @@ async function handlePasswordLogin() {
|
||||
<div v-if="errorMsg" class="login-error">{{ errorMsg }}</div>
|
||||
<div v-if="showLockResetHint" class="login-lock-hint">
|
||||
<span>{{ t("login.lockResetHint") }}</span>
|
||||
<code>hermes-web-ui clear-login-locks --restart</code>
|
||||
<code>xinmi-hermes-ui clear-login-locks --restart</code>
|
||||
<span>{{ t("login.defaultLoginResetHint") }}</span>
|
||||
<code>hermes-web-ui reset-default-login</code>
|
||||
<code>xinmi-hermes-ui reset-default-login</code>
|
||||
</div>
|
||||
<button type="submit" class="login-btn" :disabled="loading">
|
||||
{{ loading ? "..." : t("login.submit") }}
|
||||
|
||||
Reference in New Issue
Block a user