Requirements
Nova runs as a container with a PostgreSQL database and is used in the browser. Nothing needs to be installed on workstations. The installation steps are described in Installation; what has to be ready beforehand is summed up in the start checklist.
Runtime environment
| Component | Requirement |
|---|---|
| Platform | a server with Docker Engine and Docker Compose v2, a cluster in SAP BTP, Kyma runtime, or SAP BTP, Cloud Foundry |
| Database | PostgreSQL 16; the supplied templates run it as a container of its own |
| Application | Python 3.12 inside the image; the user interface is built when the image is built |
| User access | HTTPS through an upstream TLS proxy, the Kyma gateway or the app's route in Cloud Foundry |
| TLS proxy | with the nginx templates from deploy/nginx/, nginx 1.30.7 or 1.31.9 or later; distribution packages carry the fixes under older version numbers too, Ubuntu 24.04 from 1.24.0-2ubuntu7.20. The templates switch HTTP/2 on, and older versions can be attacked through it from the network (BSI advisory “NGINX2Root”, November 2026) |
When the image is built, Docker pulls the base images for Node.js and Python as well as packages from npm and PyPI, for the SAP variant also pyrfc from GitHub. The machine that builds the image needs access to these sources. Base images and Python packages are fixed to exact versions: the base images by their checksum, the Python packages through requirements/base.lock, which lists every file with its checksum. Two builds of the same source state therefore get the same packages.
No administrator rights in the container
In the container, Nova runs as the user nova (UID and GID 10001), not as root. The program files belong to root and are read-only for Nova; Nova only needs to write to the database and to /tmp. The templates make use of this: the Compose template starts Nova with a read-only file system, /tmp in memory, without Linux capabilities and without privilege escalation (no-new-privileges); the Kyma template requires runAsNonRoot, a read-only file system and a volume of its own for /tmp. Port 8000 needs no special rights.
A single instance
Nova runs as exactly one instance with one Gunicorn worker (GUNICORN_WORKERS=1). Nova keeps parts of its run state in the process, such as which jobs are currently running. The scheduler for background jobs is always run by a single process – a lock in the database decides –, so even a brief overlap during an update starts no scheduled job twice; for continuous operation it stays at one instance. Nova handles more load through threads (GUNICORN_THREADS, default 8).
Sizing
There is no binding sizing recommendation. Points of reference:
- The Kyma template is sized for a demo installation. It reserves 0.2 CPU and 384 MiB of memory for Nova with a limit of 1 CPU and 1 GiB, 0.1 CPU and 256 MiB for PostgreSQL with a limit of 0.5 CPU and 512 MiB, plus 2 GiB of storage for the database.
- Nova opens up to 30 connections to the database.
Database
Nova needs PostgreSQL 15 or newer, the templates come with 16; with an older version the start stops with a message. Nova signs in with a database role of its own – DB_USER, nova in the templates –, which owns the database but has no superuser rights. A superuser could read files of the database server and run programs on it; Nova does not need that. The templates create the role themselves as soon as the database is new (deploy/db/). The administrator of the database container (POSTGRES_USER, default postgres) is only used for creating the database and for the backups of deploy/autodeploy.sh. If Nova does sign in as a superuser, for example with the Compose file for development, a warning appears in the log at every start.
Nova runs report SQL – free reports and reports generated by the AI – under the role nova_report_ro, which has no rights of its own and into which Nova's role may only switch; deploy/db/ creates it as well. The role only reads the released views in the schema reporting: identities without password hash, target systems without connection settings and credentials, plus entitlements, business roles, assignments, accounts, org units, positions and the audit log. Queries name these views like the tables, for example SELECT name FROM users; other tables do not exist for report SQL. If the role is missing or Nova's role may not switch to it, Nova refuses report SQL instead of running it with its own rights, and names the reason in the log. Functions that run SQL from a text, such as query_to_xml, are already refused by the check on saving. Report SQL signs in as nova_report_ro itself (at most five connections, password derived from DB_PASSWORD, set by deploy/db/): a RESET ROLE therefore leads nowhere back to Nova's role. If that sign-in fails – the role has no login yet, its password no longer matches after a change of DB_PASSWORD, or all five connections are taken –, Nova refuses report SQL (HTTP 503) and names the reason – except for taken connections with a pointer to the script deploy/db/nova-app-role.sql, which deploy/autodeploy.sh runs on every update. Only in development does report SQL then run through the role switch on a connection of Nova's, which is cleaned up afterwards.
Moving an existing installation
Installations that ran as postgres so far are moved once by the operator. With Docker Compose a script does it in one run, with the automatic update stopped: it backs up deploy/.env, enters the own role, gives the database's administrator a password of its own as well, creates missing keys, builds the new version while the previous one still runs and checks its settings; up to then the running installation stays as it is. Then it stops Nova, backs up the database, switches and checks that Nova is ready. At the end it says "Fertig" or names the error. Until an update brings a newer version, --zurueck restores the previous version with the database from before.
sudo bash deploy/switch-db-role.shBy hand these are the same steps, while Nova is stopped. With Docker Compose, set DB_USER=nova and a new random DB_PASSWORD in deploy/.env; POSTGRES_USER and POSTGRES_PASSWORD name the database's administrator so far, that is the previous DB_USER and DB_PASSWORD. Build the new version's image first, then move, with a backup before:
DC="docker compose -f deploy/docker-compose.yml --env-file deploy/.env"
export NOVA_VERSION="$(git describe --tags --match 'v[0-9]*' --always)" NOVA_COMMIT="$(git rev-parse HEAD)" \
NOVA_BUILD_DATE="$(date -u +%Y-%m-%dT%H:%M:%SZ)"
$DC build app # while the previous version still runs
$DC stop app
$DC exec -T db sh -c 'pg_dump -U "$POSTGRES_USER" -Fc "$POSTGRES_DB"' > before-the-move.dump
$DC up -d db
$DC exec -T db sh /docker-entrypoint-initdb.d/10-nova-app-role.sh
$DC up -d --no-build appThe script creates the role, transfers the database, the schema public and the other schemas that belonged to the administrator so far – such as hr_ldap with the HR data from SAP HCM and the schemas of the demo target systems – with all their tables to it and lets it switch to nova_report_ro. For Kyma, deploy/kyma/README.md describes the same steps.
Network
Nova opens the connections to the target systems itself. Only the routes to the systems actually connected need to be allowed:
| Destination | Protocol and usual ports |
|---|---|
| SAP (ABAP) | RFC to the gateway of the application server, port 33‹system number›; when logging on through the message server, its port as well; optionally through a SAProuter |
| Active Directory, LDAP | LDAPS (636) or LDAP (389) |
| Microsoft Entra ID | HTTPS (443) to Microsoft sign-in and Microsoft Graph |
| Keycloak | HTTPS to the realm's sign-in and admin interfaces |
| SCIM applications | HTTPS to the application's SCIM endpoint |
| SAP SuccessFactors | HTTPS (443) to the instance's API server – OAuth, OData and SCIM |
| SMTP, by default port 587 with STARTTLS | |
| AI, optional | HTTPS to the cloud provider, or a connection to a self-hosted Ollama server |
The same routes apply when a system serves as a source system – for example an LDAP directory with HR data, or SAP organisational data over RFC. Details on each connection are in Target systems – Overview.
SAP: the customer's RFC SDK
For SAP, Nova uses the SAP NetWeaver RFC SDK. It is SAP software under SAP's license and therefore neither part of Nova's source nor of any Nova image: the standard image from deploy/Dockerfile has no SDK, and SAP target systems cannot be reached with it. For SAP there is a variant that puts the SDK on top of a standard image at build time (deploy/Dockerfile.sap):
- Get the SDK. Download the SAP NW RFC SDK 7.50 for Linux x86_64 from the SAP Support Portal (this needs an S-user) and unpack it on the machine that builds the image. The unpacked folder
nwrfcsdkcontains, among others,lib/libsapnwrfc.soandlib/libsapucum.so. It stays outside the source tree. - Build the image. First the standard image, then the SAP variant on top of it. The second build includes the SDK folder as a named context, which only BuildKit can do: Docker 23 or later with the buildx plugin.
docker buildx versionshows whether it is installed; otherwise install the packagedocker-buildx-pluginfrom Docker's package sources, ordocker-buildxfor Ubuntu'sdocker.io. Docker builds the standard image without the plugin as well.bashThe second build puts the SDK's libraries (docker build -f deploy/Dockerfile -t nova-iam-app:local . docker build -f deploy/Dockerfile.sap \ --build-context nwrfcsdk=/path/to/nwrfcsdk -t nova-iam-app:local .lib/) under/usr/local/sap/nwrfcsdk– its programs such asrfcexecstay out of the image –, setsSAPNWRFC_HOMEandLD_LIBRARY_PATH, writes the SDK's logs to/tmp(RFC_TRACE_DIR) and installspyrfc3.3.1 from SAP's release on GitHub – only with the checksum stored inrequirements/sap.txt, because the Python package index no longer haspyrfc. Finally it loadspyrfconce against the SDK; if the SDK is missing or does not fit, the build stops with a message. The variant keeps the version, commit and build date of the standard image. The second command extends a published standard image of a release in the same way, without building Nova again: with--build-arg BASE=<registry>/nova-iam:v2026.11.1, from the source state of the same release tag. As for the standard image: build from a clean state, see Installation. - Use the image. With the tag
nova-iam-app:local, the Compose template starts this image whenup -dis called without--build; for Kyma it goes into your own registry with a tag of its own. An image with the SDK belongs only into the customer's registry, because it contains SAP software. - Updates with Docker Compose.
deploy/autodeploy.sh(see Updates and backup) builds the SAP variant itself, first the standard image and then the variant on top of it, whendeploy/.envcontainsWITH_SAP=1andNWRFCSDK_DIR=/path/to/nwrfcsdk. If the folder lackslib/libsapnwrfc.soorlib/libsapucum.so, or Docker lacks the buildx plugin, it deploys nothing. When the script follows a branch, it builds the other services, such as the handbook, the way Compose builds them. Without these settings an update builds the standard image, and SAP would be gone.
Without WITH_SAP=1 the script builds the standard image, even if an SDK folder is given.
Email
Nova needs an SMTP server for notifications. It is set up under “Administration” → “Notifications” → “Email (SMTP)”. If nothing is stored there, Nova uses the environment variables NOVA_SMTP_*; at least NOVA_SMTP_HOST and NOVA_SMTP_FROM_ADDRESS are then required.
Environment variables
| Variable | Meaning |
|---|---|
SECRET_KEY | Required. Key for sign-in sessions, at least 32 characters long and randomly generated. Nova does not start without it: the image from deploy/Dockerfile aborts the start with a message in the container log, as it does with a shorter key or a placeholder from the templates such as CHANGE_ME; without a key the Compose template does not even start the container. |
NOVA_ENCRYPTION_KEY | Required. Key Nova uses to encrypt stored credentials. Without a valid key the image aborts the start as well, and the Compose template does not even start the container without it. Why it must be kept separately is explained in Updates and backup. |
DB_HOST, DB_PORT, DB_NAME, DB_USER, DB_PASSWORD | Database connection |
TRUST_PROXY, SESSION_COOKIE_SECURE | both set to 1 behind a TLS proxy, as the templates have them; TRUST_PROXY=1 only when Nova can be reached through the proxy alone, with Docker Compose by APP_BIND=127.0.0.1 |
NOVA_PUBLIC_URL | The address at which users reach Nova, for example https://nova.example.com. Nova builds the links in notifications, the redirect address of the Entra sign-in and the issuer of the OIDC Identity Provider add-on from it, as far as nothing of their own is set there. Without the variable Nova derives them from the address of each request. |
TRUST_PROXY_X_FOR, TRUST_PROXY_X_PROTO, TRUST_PROXY_X_HOST, TRUST_PROXY_X_PORT | with TRUST_PROXY=1: how many proxies Nova believes the respective X-Forwarded-… header from, default 1 each; 0 ignores the header, for instance when a proxy passes a value sent by the browser through unchecked |
CLIENT_IP_HEADER | optional: header in which the platform passes the user's address; only set it if the platform overwrites a value sent along |
All variables with their default and the check at start are listed in Configuration. Optional variables include NOVA_TIMEZONE – the time zone Nova uses to determine the calendar day for validity dates and to evaluate the job schedules, default Europe/Berlin –, NOVA_SMTP_*, and CLAUDE_API_KEY or OPENAI_API_KEY for a cloud provider's AI. RUN_DUMMIES starts demo target systems inside the container and stays at 0 in production.
Python post-processing in reports under “Reporting” – the transform field of a report definition – is switched off. Nova rejects definitions with this field when they are saved or run; calculations belong in the queries' SQL. NOVA_ALLOW_REPORT_TRANSFORMS=1 switches post-processing back on for development. Leave the variable unset in production, because the code would run inside Nova's own process.