Configuration
Nova reads its operating settings from environment variables: with Docker Compose from deploy/.env, in Kyma from the secret nova-secrets and the file deploy/kyma/deployment.yaml. The Compose template passes every setting of Nova from deploy/.env to the container, except those for development only and PORT and NOVA_REQUIRE_SECRETS, which the image sets; the variables of the Compose template and of deploy/autodeploy.sh are read by these themselves. Settings that administrators make in the user interface live in the database instead. What operation needs at least is described in Requirements; this page lists all variables.
Check at start
Nova checks the environment before it contacts the database. In production – NOVA_REQUIRE_SECRETS=1, which the image sets – Nova does not start if a required value is missing, a value does not fit (a number that is none, an unknown log level, a time zone that does not exist) or DB_PASSWORD is a default or template value such as postgres. Nor does Nova start with TRUST_PROXY=1 when APP_BIND is no loopback address such as 127.0.0.1: whoever reaches Nova's port past the proxy would set their own address in X-Forwarded-For, for the limit on sign-in attempts and for the audit log. The message in the container log names all problems at once, never passwords or keys. Outside production, for example on a development machine, Nova only writes the same findings to the log as warnings.
In production Nova writes warnings, among others, as long as SESSION_COOKIE_SECURE is off – the browser then also sends the session cookie over unencrypted HTTP –, and when Nova runs with APP_BIND=127.0.0.1 without TRUST_PROXY=1: then all users have the proxy's address, and the limit on sign-in attempts counts them together.
In production Nova also warns about variables that start with NOVA_, DB_, GUNICORN_, TRUST_PROXY or LOG_ but are no Nova setting – usually a typo – and names the most similar known one. Finally Nova writes the settings that differ from their default to the log; secrets only appear there as <set>.
An empty value counts as an unset one: the default applies. Switches take 1, true, yes or on, or 0, false, no or off.
Database
| Variable | Default | Required | Meaning |
|---|---|---|---|
DB_HOST | localhost | yes | Host of the PostgreSQL database |
DB_PORT | 5432 | Port of the database | |
DB_NAME | role_manager | Name of the database | |
DB_USER | postgres, in the templates nova | yes | Database role Nova signs in with – in production a role of its own without superuser rights, see Requirements |
DB_PASSWORD | postgres | yes | Password of this role; no default or template value |
NOVA_DB_SERVER_KEEPALIVES | 1 | lets the database server notice dead connections of Nova early; 0 behind a connection pooler that rejects startup options | |
NOVA_INIT_DB_LOCK_TIMEOUT | empty | how long the schema update at start waits for a locked table, for example 5s; empty means: as long as needed | |
NOVA_INIT_DB_BUDGET_S | 90 | seconds within which Nova repeats the schema update after such a wait |
Keys, sessions and proxy
| Variable | Default | Required | Meaning |
|---|---|---|---|
SECRET_KEY | empty | yes | Key for the sign-in sessions, at least 32 random characters |
NOVA_ENCRYPTION_KEY | empty | yes | Key with which Nova encrypts stored credentials, see Updates and backup |
NOVA_REQUIRE_SECRETS | 0, in the image 1 | Production: Nova only starts with a complete, fitting configuration | |
NOVA_ALLOW_EPHEMERAL_KEY | 0 | development only: a temporary key when NOVA_ENCRYPTION_KEY is missing | |
SESSION_COOKIE_SECURE | 0, in the templates 1 | session cookie over HTTPS only; 1 behind a TLS proxy | |
NOVA_SESSION_IDLE_MINUTES | 60 | minutes without a request after which a session ends; 0 = no idle limit | |
NOVA_SESSION_MAX_HOURS | 12 | hours after the sign-in after which a session ends, however active | |
TRUST_PROXY | 0, in the templates 1 | take over the X-Forwarded-… headers of an upstream TLS proxy; 1 behind a TLS proxy, when Nova can only be reached through it (with Compose APP_BIND=127.0.0.1) | |
TRUST_PROXY_X_FOR, TRUST_PROXY_X_PROTO, TRUST_PROXY_X_HOST, TRUST_PROXY_X_PORT | 1 each | how many proxies Nova believes the respective header from; 0 ignores it | |
CLIENT_IP_HEADER | empty | header in which the platform passes the user's address | |
NOVA_PUBLIC_URL | empty | address at which users reach Nova, for example https://nova.example.com: links in notifications, redirect address of the Entra sign-in, issuer of the OIDC Identity Provider. Set it in production: without it Nova derives these addresses from the Host header of each request; with the OIDC Identity Provider switched on and no issuer of its own, the start warns | |
NOVA_ALLOW_REPORT_TRANSFORMS | 0 | development only: Python post-processing in report definitions | |
VCAP_SERVICES | from Cloud Foundry | service bindings of the app on SAP BTP Cloud Foundry; Nova reads the Connectivity service from it for target systems behind the SAP Cloud Connector. Never set it yourself |
Logs and web server
| Variable | Default | Required | Meaning |
|---|---|---|---|
LOG_LEVEL | empty, in the image INFO | level from which Nova also writes to standard output: DEBUG, INFO, WARNING, ERROR or CRITICAL, see Logs and health | |
LOG_FORMAT | json | json or text | |
GUNICORN_WORKERS | 1 | worker processes; leave at 1 | |
GUNICORN_THREADS | 8 | threads per worker | |
GUNICORN_KEEPALIVE | 2 | seconds an idle connection stays open | |
GUNICORN_GRACEFUL_TIMEOUT | 25 | seconds open requests still get on shutdown | |
GUNICORN_ACCESS_LOG | 1 | access log on standard output | |
PORT | 8000 | port Nova listens on in the container | |
NOVA_PORT | 8000 | port of the development server (python app.py) |
Mail and AI
| Variable | Default | Required | Meaning |
|---|---|---|---|
NOVA_SMTP_HOST, NOVA_SMTP_FROM_ADDRESS | empty | SMTP server and sender, if nothing is set up under “Administration” → “Notifications”; both needed | |
NOVA_SMTP_PORT | 587 | port of the SMTP server | |
NOVA_SMTP_USERNAME, NOVA_SMTP_PASSWORD | empty | sign-in at the SMTP server | |
NOVA_SMTP_FROM_NAME | Nova IAM | sender name | |
NOVA_SMTP_USE_TLS, NOVA_SMTP_USE_SSL | 1, 0 | STARTTLS or TLS from the start | |
NOVA_SMTP_CONNECTION_PATH | direct | cloud_connector: through the SAP Cloud Connector to the mail server in the customer network, on SAP BTP only; NOVA_SMTP_HOST is then the virtual host, see Sending email | |
NOVA_SMTP_SCC_LOCATION_ID | empty | location id of the Cloud Connector, only with several on the subaccount | |
NOVA_SMTP_AUTH | password | oauth_m365: sign-in at Microsoft 365 with an app token instead of a password; NOVA_SMTP_USERNAME is then the mailbox (empty: the sender address) | |
NOVA_SMTP_OAUTH_TENANT_ID, NOVA_SMTP_OAUTH_CLIENT_ID, NOVA_SMTP_OAUTH_CLIENT_SECRET | empty | tenant, client id and client secret of the app registration for oauth_m365 | |
CLAUDE_API_KEY, OPENAI_API_KEY | empty | keys for the AI of a cloud provider; without them no cloud AI |
Behaviour and background work
| Variable | Default | Required | Meaning |
|---|---|---|---|
NOVA_TIMEZONE | Europe/Berlin | time zone by which Nova determines the calendar day for validities and evaluates the schedules of background jobs; the nightly cleanup and activation of assignments thus run in the night of the day they check | |
NOVA_ENVIRONMENT | empty | name of this environment, for example DEV, QA or PROD: written into every file of the configuration transport, and importing a file from the same environment warns | |
NOVA_PROVISIONING_PARALLEL_RUNS | 4 | provisioning runs that may work at the same time | |
NOVA_SCRIPTING_SQL_WRITE | 0 | Nova-Skript add-on: 1 lets administrators' scripts change data with sql_write() – one INSERT, UPDATE or DELETE as Nova's database role, past every check of the endpoints (no rights check, no audit entry of the endpoint, no provisioning log, no provisioning); simulated and run only after a confirmation, with an audit entry of its own per statement. Reading with sql() always works | |
NOVA_ORPHAN_SWEEP_S, NOVA_ORPHAN_CONFIRM_S, NOVA_ORPHAN_NULL_GRACE_S | 30, 45, 900 | seconds: how often Nova looks for work of ended processes, how long a process must count as ended and from which age work without an owner counts as orphaned | |
NOVA_JOB_RECONCILE_S, NOVA_LEADER_POLL_S, NOVA_LEADER_PING_S | 30, 5, 5 | seconds: reconciling the schedules and agreeing which process runs the background work | |
NOVA_VERSION, NOVA_COMMIT, NOVA_BUILD_DATE | from the build | version, commit and build date; set by the image build, see Updates and backup |
Templates and demo
These variables are read by the templates under deploy/ and by the image at start, not by Nova itself; only APP_BIND is also passed to Nova by the Compose template, for the check at start.
| Variable | Default | Required | Meaning |
|---|---|---|---|
POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DB | postgres, DB_PASSWORD, role_manager | database container: administrator who creates the database, and its name | |
PGDATA | – | Kyma template: data directory below the volume | |
NOVA_DB_USER, NOVA_DB_PASSWORD | DB_USER, DB_PASSWORD | database container: Nova's role, which deploy/db/ creates when the database is created; the templates pass DB_USER and DB_PASSWORD | |
APP_BIND, APP_PORT | 127.0.0.1, 8000 | Compose: address and port under which Nova is reachable on the server; 127.0.0.1 for the TLS proxy on the same server. Direct access without a proxy with 0.0.0.0, then also TRUST_PROXY=0 and SESSION_COOKIE_SECURE=0 | |
HANDBOOK_BIND, HANDBOOK_PORT | 127.0.0.1, 8010 | Compose: the handbook service with this handbook | |
DEPLOY_REF, DEPLOY_BRANCH | empty, main | deploy/autodeploy.sh: release tag or branch, see Updates and backup | |
BACKUP_DIR, BACKUP_KEEP, SMOKE_TIMEOUT | backups/, 10, 300 | deploy/autodeploy.sh: location and number of backups, time for the check after the update | |
EXPOSED_PORTS | 22 80 443 | deploy/autodeploy.sh, deploy/check_exposure.sh: TCP ports the server may listen on beyond loopback; any other (including one Docker publishes) logs a warning on every run of autodeploy.sh. The check reads the server's own sockets and sees no firewall: what the internet reaches only a port scan from outside shows | |
WITH_SAP, NWRFCSDK_DIR | 0, empty | deploy/autodeploy.sh: with WITH_SAP=1 every update builds the SAP variant of the image, the SDK from this folder on top of the standard image (needs Docker's buildx plugin), see Requirements | |
RUN_DUMMIES | 0 | start demo target systems in the container; 0 in production | |
SCIM_WEB_HOST, LDAP_WEB_HOST, VDS_WEB_HOST | 127.0.0.1 | demo: address of the demo target systems' user interfaces in the container | |
VDS_SOURCE_ID | nova-hr-stage | demo: the SAP HCM source whose staging area the HR demo system fills and shows as an LDAP directory | |
VDS_WEB_BIND, VDS_WEB_PORT | 127.0.0.1, 8003 | demo, Compose: address and port of the HR demo system's user interface on the server | |
DEMO_RESET_ENABLED | 0 | demo: allows the add-on that resets the demo data on this database; never on a customer installation | |
NOVA_DEMO_MODE | 0 | demo: self-registration – whoever requests a sign-in code for an unknown email address gets a demo identity without rights in Nova, see Signing in to Nova; 1 only on the public demo, never on a customer installation |