补充 Docker 配置与登录页品牌修改

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