feat: package docker deployment and publish flow

This commit is contained in:
theshy
2026-04-22 16:20:03 +08:00
parent 055474360e
commit 2146687dc6
178 changed files with 24318 additions and 20855 deletions

View File

@ -1,34 +1,34 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
const proxiedPaths = [
"/health",
"/doctor",
"/tasks",
"/settings",
"/runtime",
"/history",
"/logs",
"/modules",
"/scheduler",
"/worker",
"/stage",
];
export default defineConfig({
base: "/ui/",
plugins: [react()],
server: {
host: "0.0.0.0",
port: 5173,
proxy: Object.fromEntries(
proxiedPaths.map((path) => [
path,
{
target: "http://127.0.0.1:8787",
changeOrigin: false,
},
]),
),
},
});
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
const proxiedPaths = [
"/health",
"/doctor",
"/tasks",
"/settings",
"/runtime",
"/history",
"/logs",
"/modules",
"/scheduler",
"/worker",
"/stage",
];
export default defineConfig({
base: "/ui/",
plugins: [react()],
server: {
host: "0.0.0.0",
port: 5173,
proxy: Object.fromEntries(
proxiedPaths.map((path) => [
path,
{
target: "http://127.0.0.1:8787",
changeOrigin: false,
},
]),
),
},
});