Installation
There are two prepared ways to install Nova. Both build the image from deploy/Dockerfile and run Nova together with PostgreSQL 16. The templates are in the deploy/ directory; the commands below run in the directory that contains deploy/. What has to be in place beforehand is described in Requirements. The way via SAP BTP, Cloud Foundry is described in SAP BTP, Cloud Foundry.
Building the image from a clean state
Only what .dockerignore explicitly allows goes into the image: the program code, the user interface, the demo target systems and the demo data. Local files such as deploy/.env, certificates under certs/, database dumps or logs stay out. Images for customers are nevertheless built only from a clean Git state of a release – a Git tag of the form vYYYY.MM.N, see Updates and backup –, here from the tag unpacked with git archive, with version, commit and build date for GET /api/version:
TAG=v2026.11.1
rm -rf /tmp/nova-build && mkdir /tmp/nova-build
git archive "$TAG" | tar -x -C /tmp/nova-build
docker build -f /tmp/nova-build/deploy/Dockerfile \
--build-arg NOVA_VERSION="$TAG" --build-arg NOVA_COMMIT="$(git rev-parse "$TAG^{commit}")" \
--build-arg NOVA_BUILD_DATE="$(date -u +%Y-%m-%dT%H:%M:%SZ)" \
-t nova-iam-app:local /tmp/nova-buildThe image then contains exactly the state of the release, whatever else is in the working directory. Do not pipe the archive into docker build -: Docker does not apply .dockerignore to a context read from standard input, so the image would contain every committed file. Compose uses an image built this way under its name nova-iam-app:local when up -d is called without --build.
Single server with Docker Compose
The template deploy/docker-compose.yml starts Nova and PostgreSQL as containers. The database lives in a Docker volume of its own and survives restarts and updates.
- Create the configuration. Copy
deploy/.env.exampletodeploy/.envand set at leastSECRET_KEY,NOVA_ENCRYPTION_KEYand a randomDB_PASSWORD; without aPOSTGRES_PASSWORDof its own,DB_PASSWORDalso applies to the database administrator.RUN_DUMMIESstays at0. WithDB_PASSWORDthe database creates Nova's own rolenovaon its first start, see Requirements. The two keys can be generated as follows, the second one with Python and thecryptographypackage:bashopenssl rand -hex 32 python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())" - Prepared for the TLS proxy. The template is set up for a TLS proxy on the same server; these values stay as they are:
APP_BIND=127.0.0.1so that Nova can only be reached from the server itself, plusTRUST_PROXY=1andSESSION_COOKIE_SECURE=1. WithTRUST_PROXY=1Nova only starts whenAPP_BINDis a loopback address; otherwise whoever reaches the port past the proxy could state any address inX-Forwarded-For. Unencrypted access directly to port 8000, for trying it out only, needs all three changed:APP_BIND=0.0.0.0,TRUST_PROXY=0andSESSION_COOKIE_SECURE=0. Adeploy/.envfrom an older template keeps its values, see Updates and backup. - Build and start. The installation directory is checked out at the release tag to install; later updates go from there to the next tag, see Updates and backup.bashThe first run builds the image and takes a few minutes. Gunicorn listens on port 8000 right after the start; Nova answers requests once the database schema is up to date, usually after a few seconds. Nova is ready when
git checkout v2026.11.1 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)" docker compose -f deploy/docker-compose.yml --env-file deploy/.env up -d --build app docker compose -f deploy/docker-compose.yml --env-file deploy/.env logs -f appcurl http://127.0.0.1:8000/readyzanswers with"status": "ready", see Logs and health. The template also contains thehandbookservice, which serves this handbook; Nova does not need it. - Set up the TLS proxy. A web server on the host accepts HTTPS and forwards to
http://127.0.0.1:8000. The nginx templates indeploy/nginx/show the settings: pass on the headersHost,X-Forwarded-For,X-Forwarded-ProtoandX-Forwarded-Host, allow uploads of up to 25 MB and set timeouts of 120 seconds. The certificate can be obtained from Let's Encrypt with certbot, for example. The templates switch HTTP/2 on; the nginx version this requires is listed under Requirements.
Nova itself serves plain, unencrypted HTTP only; TLS comes from the upstream proxy.
SAP BTP, Kyma runtime
The templates in deploy/kyma/ run Nova in a Kyma cluster: a Deployment for Nova, PostgreSQL as a StatefulSet with its own volume, and an APIRule that makes Nova reachable over HTTPS through the Kyma gateway – at https://nova-iam.‹cluster domain›.
- Access and namespace. Set up kubectl with the cluster's kubeconfig; sign-in runs through the OIDC plugin kubelogin. Create a namespace, for example
nova-iam. If the image is in a private registry, also create an image pull secret. - Provide the image. Build the release's image from
deploy/Dockerfile(see above), push it to the registry with the release tag as image tag and enter it indeployment.yaml. Give every new version a new tag: a node does not pull a tag it has already pulled. The template probes/healthzand/readyzand starts Nova as the usernova; images without these two addresses, such as those from before the release tags, do not start with it. - Create the secrets. Nova reads its environment from the secret
nova-secrets, PostgreSQL its administrator fromnova-postgres;secret.example.yamlis the template for both.nova-secretsholdsDB_NAME,DB_USER(nova), a randomDB_PASSWORD,SECRET_KEYandNOVA_ENCRYPTION_KEY,nova-postgresholdsPOSTGRES_DB,POSTGRES_USERandPOSTGRES_PASSWORD. In addition, the ConfigMap that creates Nova's own role on the first start of the database:kubectl -n nova-iam create configmap nova-postgres-init --from-file=deploy/db/.deployment.yamlsetsTRUST_PROXY=1andSESSION_COOKIE_SECURE=1for the Kyma gateway; further variables such asNOVA_PUBLIC_URLorNOVA_SMTP_*are added as extra keys. The real values do not belong in version-controlled files. - Adapt for production. The template is designed for a demo: in
deployment.yaml, setRUN_DUMMIESto"0"and do not applydummies-expose.yaml. Keepreplicas: 1and theRecreatestrategy – this way two instances never run at the same time. - Apply.bash
kubectl -n nova-iam apply -f deploy/kyma/postgres.yaml kubectl -n nova-iam apply -f deploy/kyma/deployment.yaml kubectl -n nova-iam apply -f deploy/kyma/apirule.yaml kubectl -n nova-iam rollout status deploy/nova-iam
The first start
On start, Nova creates the database schema and brings it up to date on every subsequent start. On the first start, Nova also writes basic data, including:
- an administrator account with a preset password, which administrators should change right after the first sign-in,
- the entitlements “Admin”, “Rollen-Admin”, “Manager”, “Security”, “SoD Reviewer”, “Risiko-Admin”, “Risiko-Minderer” and “Risiko-Leser”,
- the preset background jobs, see Monitoring and jobs,
- two example target systems pointing to local test services: “SCIM Dummy Target” and “LDAP Directory”.
Administrators then connect their own target systems under “Systems”, see Target systems – Overview. How updates and backups work is described in Updates and backup.