更新
This commit is contained in:
@@ -9,7 +9,7 @@ export const overridesPreferences = defineOverridesPreferences({
|
||||
// overrides
|
||||
app: {
|
||||
name: import.meta.env.VITE_APP_TITLE,
|
||||
layout: 'sidebar-mixed-nav',
|
||||
layout: 'header-sidebar-nav',
|
||||
defaultHomePath: '/workspace', // 默认首页路径
|
||||
enablePreferences: false, // 是否启用偏好设置
|
||||
loginExpiredMode: 'page', // 登录过期模式 不用弹窗登录 跳转到页面登录,防止一些界面不会再加载
|
||||
@@ -21,6 +21,7 @@ export const overridesPreferences = defineOverridesPreferences({
|
||||
breadcrumb: {
|
||||
hideOnlyOne: true,
|
||||
styleType: 'normal',
|
||||
showHome: true,
|
||||
},
|
||||
copyright: {
|
||||
enable: false,
|
||||
@@ -31,7 +32,7 @@ export const overridesPreferences = defineOverridesPreferences({
|
||||
sidebar: {
|
||||
collapsed: false,
|
||||
fixedButton: true,
|
||||
width: 170,
|
||||
width: 190,
|
||||
},
|
||||
transition: {
|
||||
name: 'fade-up',
|
||||
@@ -40,6 +41,7 @@ export const overridesPreferences = defineOverridesPreferences({
|
||||
lockScreen: false,
|
||||
notification: false,
|
||||
languageToggle: false,
|
||||
themeToggle: false,
|
||||
},
|
||||
navigation: {
|
||||
accordion: false,
|
||||
|
||||
@@ -22,7 +22,7 @@ const routes: RouteRecordRaw[] = [
|
||||
meta: {
|
||||
icon: 'mdi:monitor-dashboard',
|
||||
link: 'http://10.10.10.9:8002/',
|
||||
title: 'Kong后台',
|
||||
title: '网关',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -32,7 +32,7 @@ const routes: RouteRecordRaw[] = [
|
||||
meta: {
|
||||
icon: 'mdi:monitor-dashboard',
|
||||
link: 'http://10.10.10.9:9001',
|
||||
title: 'MinIO后台',
|
||||
title: '对象存储',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -42,7 +42,7 @@ const routes: RouteRecordRaw[] = [
|
||||
meta: {
|
||||
icon: 'mdi:monitor-dashboard',
|
||||
link: 'http://10.10.10.9:9091/webui',
|
||||
title: 'Milvus后台',
|
||||
title: '向量数据库',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -52,7 +52,7 @@ const routes: RouteRecordRaw[] = [
|
||||
meta: {
|
||||
icon: 'mdi:monitor-dashboard',
|
||||
link: 'http://10.10.10.9:3000/',
|
||||
title: 'Milvus Attu后台',
|
||||
title: '向量数据库Attu',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@ const routes: RouteRecordRaw[] = [
|
||||
meta: {
|
||||
icon: 'mdi:monitor-dashboard',
|
||||
link: 'http://10.10.10.9:15672',
|
||||
title: 'RabbitMQ后台',
|
||||
title: '消息队列',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -72,7 +72,7 @@ const routes: RouteRecordRaw[] = [
|
||||
meta: {
|
||||
icon: 'mdi:monitor-dashboard',
|
||||
link: 'http://10.10.10.9:13011',
|
||||
title: 'Harbor后台',
|
||||
title: '容器管理',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -82,7 +82,7 @@ const routes: RouteRecordRaw[] = [
|
||||
meta: {
|
||||
icon: 'mdi:monitor-dashboard',
|
||||
link: 'http://10.10.10.9:9090',
|
||||
title: 'Prometheus后台',
|
||||
title: '日志监控',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -92,7 +92,7 @@ const routes: RouteRecordRaw[] = [
|
||||
meta: {
|
||||
icon: 'mdi:monitor-dashboard',
|
||||
link: 'http://10.10.10.9:3001',
|
||||
title: 'Grafana后台',
|
||||
title: '数据可视化',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
@@ -1,90 +0,0 @@
|
||||
services:
|
||||
vue:
|
||||
container_name: ce_vue
|
||||
image: ce-vue:latest
|
||||
ports:
|
||||
- "8090:8090" # 映射到宿主机的 8090 端口
|
||||
restart: always
|
||||
networks:
|
||||
- ce_network
|
||||
|
||||
backend:
|
||||
container_name: ce-pybackend
|
||||
image: ce-pybackend:latest
|
||||
ports:
|
||||
- "13011:13011"
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- ce_network
|
||||
depends_on:
|
||||
- vue
|
||||
|
||||
postgres:
|
||||
image: postgres:15-alpine
|
||||
container_name: ce_postgres
|
||||
environment:
|
||||
POSTGRES_DB: ktor
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: 123456
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data
|
||||
ports:
|
||||
- "5432:5432"
|
||||
networks:
|
||||
- ce_network
|
||||
restart: unless-stopped
|
||||
|
||||
redis:
|
||||
image: redis:7.2.3-alpine
|
||||
container_name: ce_redis
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
ports:
|
||||
- "6379:6379"
|
||||
networks:
|
||||
- ce_network
|
||||
restart: unless-stopped
|
||||
|
||||
minio:
|
||||
image: minio/minio:RELEASE.2025-03-12T18-04-18Z
|
||||
container_name: ce_minio
|
||||
environment:
|
||||
MINIO_ACCESS_KEY: minioadmin
|
||||
MINIO_SECRET_KEY: minioadmin
|
||||
volumes:
|
||||
- minio_data:/data
|
||||
ports:
|
||||
- "9000:9000"
|
||||
- "9001:9001"
|
||||
command: server /data --console-address ":9001"
|
||||
networks:
|
||||
- ce_network
|
||||
restart: unless-stopped
|
||||
|
||||
# ollama:
|
||||
# image: ollama/ollama
|
||||
# container_name: ce_ollama
|
||||
# deploy:
|
||||
# resources:
|
||||
# reservations:
|
||||
# devices:7
|
||||
# - capabilities: [gpu] # 启用 GPU 支持
|
||||
# volumes:
|
||||
# - ollama_data:/root/.ollama # 持久化 ollama 数据
|
||||
# ports:
|
||||
# - "11434:11434" # 暴露 ollama 的端口
|
||||
# networks:
|
||||
# - ce_network
|
||||
# restart: unless-stopped
|
||||
|
||||
# 定义数据卷
|
||||
volumes:
|
||||
postgres_data:
|
||||
redis_data:
|
||||
minio_data:
|
||||
ollama_data: # 定义 ollama 的数据卷
|
||||
|
||||
# 定义网络
|
||||
networks:
|
||||
ce_network:
|
||||
driver: bridge
|
||||
@@ -1,51 +1,13 @@
|
||||
|
||||
#user nobody;
|
||||
worker_processes 1;
|
||||
|
||||
#error_log logs/error.log;
|
||||
#error_log logs/error.log notice;
|
||||
#error_log logs/error.log info;
|
||||
|
||||
#pid logs/nginx.pid;
|
||||
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
|
||||
|
||||
http {
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
types {
|
||||
application/javascript js mjs;
|
||||
text/css css;
|
||||
text/html html;
|
||||
}
|
||||
|
||||
sendfile on;
|
||||
# tcp_nopush on;
|
||||
|
||||
#keepalive_timeout 0;
|
||||
# keepalive_timeout 65;
|
||||
|
||||
# gzip on;
|
||||
# gzip_buffers 32 16k;
|
||||
# gzip_comp_level 6;
|
||||
# gzip_min_length 1k;
|
||||
# gzip_static on;
|
||||
# gzip_types text/plain
|
||||
# text/css
|
||||
# application/javascript
|
||||
# application/json
|
||||
# application/x-javascript
|
||||
# text/xml
|
||||
# application/xml
|
||||
# application/xml+rss
|
||||
# text/javascript; #设置压缩的文件类型
|
||||
# gzip_vary on;
|
||||
|
||||
server {
|
||||
listen 8091;
|
||||
server_name localhost;
|
||||
|
||||
Reference in New Issue
Block a user