Vite listens on 8500 and proxies /ops to the control plane. Admin Ops UI covers pause/resume, scale, drain/force restart, and restart-needed banner. Co-authored-by: Nasyarobby Putra <nasyarobby@gmail.com>
11 lines
224 B
JavaScript
11 lines
224 B
JavaScript
process.env.JFLOW_ROLE = "worker";
|
|
|
|
import { startApp } from "./start-app.js";
|
|
|
|
// BullMQ worker only. Schema migrations are owned by control.
|
|
await startApp({
|
|
role: "worker",
|
|
migrate: false,
|
|
serveStaticUi: false,
|
|
});
|