Konfiguration
Docker Compose Umgebungsvariablen
LowCode-Service
| Variable | Beschreibung | Standardwert |
|---|---|---|
NODE_OPTIONS | Node.js Optionen (Debugging) | --inspect=0.0.0.0:9229 --enable-source-maps |
_NODERED_AUTH_DISABLED | Authentifizierung deaktivieren | true (Entwicklung) |
NODERED_CUSTOM_SETTINGS_PATH | Pfad zu Custom Settings | /lowcode/src/custom_settings.js |
NODERED_FLOW_STORAGE_OUTPUT_FORMAT | Flow-Speicherformat | yaml |
Engine-Service
| Variable | Beschreibung | Standardwert |
|---|---|---|
engine__database__dialect | Datenbank-Typ | postgres |
engine__database__host | Datenbank-Host | postgres |
engine__processModelSeedDir | BPMN-Seed-Verzeichnis | /processes/ |
Authority-Service
Die Authority-Konfiguration befindet sich in .processcube/authority/config/ mit User-Seeding-Daten und OIDC-Einstellungen.
Custom Settings (custom_settings.js)
Die Datei apps/lowcode/src/custom_settings.js konfiguriert Node-RED:
module.exports = {
editorTheme: {
page: {
title: "LowCode AppTemplate"
},
palette: {
categories: ['MyProject', 'subflows', 'common', 'function', 'network', 'sequence', 'parser', 'storage']
}
},
functionGlobalContext: {
os: require('os')
}
}editorTheme.page.title— Titel des Node-RED EditorseditorTheme.palette.categories— Reihenfolge der Palette-Kategorien (eigene Kategorie “MyProject” zuerst)functionGlobalContext— Module, die in Function-Nodes global verfügbar sind
Flow-Speicherformat
Das AppTemplate verwendet YAML als Speicherformat für Flows:
NODERED_FLOW_STORAGE_OUTPUT_FORMAT: yamlYAML bietet gegenüber JSON bessere Lesbarkeit und eignet sich besser für Versionskontrolle mit Git.
CI/CD mit GitHub Actions
Der GitHub-Actions-Workflow (.github/workflows/build.yml) baut bei jedem Push auf main automatisch ein Docker-Image:
- Version wird aus der
package.jsonextrahiert - Docker-Image wird für
linux/amd64gebaut - Image wird nach
ghcr.io(GitHub Container Registry) gepusht - Tags:
latestund versionsspezifisch
# Ausschnitt aus .github/workflows/build.yml
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build and push Docker image
# Baut linux/amd64 Image und pusht zu GHCR