generate traefik config for maintenance ui

This commit is contained in:
Owen
2025-12-20 15:40:56 -05:00
committed by Owen Schwartz
parent c033fd4e8b
commit 800bdcb277
4 changed files with 347 additions and 28 deletions

View File

@@ -23,6 +23,7 @@ import { initCleanup } from "#dynamic/cleanup";
import license from "#dynamic/license/license";
import { initLogCleanupInterval } from "@server/lib/cleanupLogs";
import { fetchServerIp } from "@server/lib/serverIpService";
import { startMaintenanceServer } from "./lib/traefik/maintenance-server.js";
async function startServers() {
await setHostMeta();
@@ -55,6 +56,8 @@ async function startServers() {
integrationServer = createIntegrationApiServer();
}
startMaintenanceServer();
await initCleanup();
return {