-
Notifications
You must be signed in to change notification settings - Fork 11
PROCEED MS Configuration
Kai edited this page Mar 11, 2025
·
9 revisions
The Management System (MS) can be configured in multiple ways:
- Environment Variables:
- Pre-Defined System Settings:
- Pre-Defined Personal Space Settings:
- Pre-Defined Organizational Space Settings:
For some use cases, we also create specificially compiled versions of the MS.
- Env-Variables read at Startup, not stored into the DB
- the other Settings are stored in the DB (could also be set-up with an initial script within the seeding file)
// in Backend, e.g. server components
import { env } from '@/lib/env-vars';
... env.YYY ...
// in Frontend, e.g. client components
const Component = () => {
const env = use(EnvVarsContext);
... env.PROCEED_PUBLIC_YYY ...
}
See File
Config Key | Default Value | Type and Values | Explanation |
---|---|---|---|
PROCEED_PUBLIC_PROCESS_DOCUMENTATION | "TRUE" | String: "TRUE" or "FALSE" | |
PROCEED_PUBLIC_PROCESS_AUTOMATION | "FALSE" | String: "TRUE" or "FALSE" | |
PROCEED_PUBLIC_CONFIG_SERVER | "FALSE" | String: "TRUE" or "FALSE" | |
ONLY_ONE_ORG_SPACE | "" | String: "" (empty: multiple spaces allowed) or "YYY" (name of the space) | TODO, All other Spaces are Hidden in the UI |
--- | |||
SCHEDULER_TIMEOUT | "0 3 * * *" | String with cron values | Sets the time when the Scheduler must run. Default: every day at 3am. |
SCHEDULER_JOB_DELETE_INACTIVE_GUESTS | 30 | Days as Integer | The timeout for deleting inactive guest accounts. |
SCHEDULER_JOB_DELETE_OLD_ARTIFACTS | 7 | Days as Integer | The timeout for deleting artifacts with a ref counter of 0. |
MS_ENABLED_RESOURCES=['Process', 'Folder', 'GanttChart']
- MQTT Server
PROCEED_PUBLIC_PROCESS_DOCUMENTATION -> Unter-Einstellungen: 'Process', 'Folder', 'GanttChart'
-
weitere einstellungen
-
wie werden Funktionlitäten/Resourcen aktiivert oder deaktiviert?
-
wie handhaben wir unter-einstellungen
-
sollten wir wirklich zw. env- und system-variablen unterscheiden? wieso? -> oder gleich?
Resourcen src/management-system-v2/lib/ability/caslAbility.ts
This is the Dev Wiki