Use host-published Datum admin port

This commit is contained in:
Dorian
2026-05-09 16:49:01 +01:00
parent 4b28f760c5
commit 4064e16ea8
4 changed files with 13 additions and 23 deletions

View File

@@ -53,7 +53,7 @@ export const config = {
corsOrigin: parsed.CORS_ORIGIN,
staticDir: parsed.STATIC_DIR,
datum: {
url: (parsed.DATUM_URL ?? "http://datum:21000").replace(/\/$/, ""),
url: (parsed.DATUM_URL ?? "http://127.0.0.1:21000").replace(/\/$/, ""),
adminUser: parsed.DATUM_ADMIN_USER,
adminPassword: parsed.DATUM_ADMIN_PASSWORD,
pollIntervalMs: parsed.DATUM_POLL_INTERVAL_MS,