Skip to main content

USP Server Environment Variables

The following table lists all primary configuration options available for the USP Server component. Each option can be set either as an HCL argument in the configuration file or overridden by an environment variable at runtime.

While environment variables take precedence over HCL arguments when both are provided, it is generally recommended to configure settings using HCL files to maintain clarity, consistency, and ease of management. Overriding with environment variables should be used sparingly, typically for temporary adjustments or in containerized deployment scenarios.

Environment variables are loaded from from /opt/udmg/etc/usp-server.env via the systemd unit.

HCL Argument NameEnvironment Variable Name
passphraseUSP_SERVER_PASSPHRASE
nameUSP_SERVER_NAME
database.pathUSP_SERVER_DATABASE_PATH
web.read_timeoutUSP_SERVER_WEB_READ_TIMEOUT
web.write_timeoutUSP_SERVER_WEB_WRITE_TIMEOUT
web.idle_timeoutUSP_SERVER_WEB_IDLE_TIMEOUT
web.shutdown_timeoutUSP_SERVER_WEB_SHUTDOWN_TIMEOUT
web.cors_allowed_originsUSP_SERVER_CORS_ALLOWED_ORIGINS
web.config_hostUSP_SERVER_WEB_CONFIG_HOST
web.api_hostUSP_SERVER_WEB_API_HOST
web.tls.certUSP_SERVER_WEB_TLS_CERT
web.tls.keyUSP_SERVER_WEB_TLS_KEY
web.tls.caUSP_SERVER_WEB_TLS_CA
icap.timeoutUSP_SERVER_ICAP_TIMEOUT
log.levelUSP_SERVER_LOG_LEVEL
log.pathUSP_SERVER_LOG_PATH
log.max_sizeUSP_SERVER_LOG_MAX_SIZE
log.max_backupsUSP_SERVER_LOG_MAX_BACKUPS
log.max_ageUSP_SERVER_LOG_MAX_AGE