迁移网关

This commit is contained in:
BBIT-Kai
2026-06-11 09:44:28 +08:00
parent a3df3b0322
commit cd16184e0c
22 changed files with 70 additions and 433 deletions
+2 -4
View File
@@ -1,10 +1,8 @@
VITE_BASE=/
# 接口地址
#VITE_GLOB_API_URL=https://ai.ronsunny.cn:8090/api
#VITE_GLOB_API_URL_PY=https://ai.ronsunny.cn:8090/ai
VITE_GLOB_API_URL=https://171.212.101.200:8090/api
VITE_GLOB_API_URL_PY=https://171.212.101.200:8090/ai
VITE_GLOB_API_URL=https://ai.bbitcn.net/api
VITE_GLOB_API_URL_PY=https://ai.bbitcn.net/ai
# 是否开启压缩,可以设置为 none, brotli, gzip
VITE_COMPRESS=none
+1 -1
View File
@@ -17,7 +17,7 @@ type WsOptions = {
path: (() => string) | string;
reconnectInterval?: number;
};
const BASE_WS_URL = 'wss://ai.ronsunny.cn:8090/ai/';
const BASE_WS_URL = 'wss://ai.bbitcn.net/ai/';
// const BASE_WS_URL = 'ws://127.0.0.1:13011/';
export function createAutoReconnectWs(options: WsOptions) {
let ws: null | WebSocket = null;
+1 -1
View File
@@ -65,6 +65,6 @@ export const overridesPreferences = defineOverridesPreferences({
},
logo: {
enable: true,
source: 'https://ai.ronsunny.cn:9000/system/default/favicon.ico',
source: 'https://storage.bbitcn.net/system/default/favicon.ico',
},
});
@@ -127,7 +127,7 @@ const disconnectAll = async () => {
<template #default>
<Card class="ml-2 h-full">
<iframe
src="https://ai.ronsunny.cn:8090/remote"
src="https://remote.bbitcn.net"
class="h-full w-full"
></iframe>
</Card>
+1 -1
View File
@@ -9,6 +9,6 @@ COPY apps/web-antd/dist /usr/share/nginx/html
# 拷贝 nginx 配置
COPY scripts/deploy/nginx.conf /etc/nginx/nginx.conf
#EXPOSE 8091 因为使用kong做网关 可以直接使用ce-vue:8091访问 所以这里可以不暴露给内网
EXPOSE 8091
CMD ["nginx", "-g", "daemon off;"]
+2 -2
View File
@@ -1,10 +1,10 @@
# push_docker.ps1
# Set version
$env:VERSION = "1.5.5.1"
$env:VERSION = "1.5.6"
# Docker registry/repository
$registry = "ai.ronsunny.cn:13011/bbit_ai/ce_vue"
$registry = "docker.bbitcn.net/bbit_ai/ce_vue"
# Dockerfile path
$dockerfilePath = ".\scripts\deploy\Dockerfile"