Skip to main content

Environment variables reference

All environment variables accepted by uxopian-ai and uxopian-gateway. Variables marked with a default are optional; variables with no default are required when the feature is used.

uxopian-ai environment variables

Application

VariableDefaultDescription
APP_BASE_URL(empty)Public base URL of the application. Used in generated links.
UXOPIAN_AI_PORT8080HTTP port for the application server
CONTEXT_PATH(empty)Servlet context path prefix (e.g., /ai)
SPRING_PROFILES_ACTIVE(empty)Active Spring profiles. Set to dev to disable authentication.
TOOLS_ENABLEDtrueSet to false to disable all tool execution
JAVA_OPTS(empty)JVM options (e.g., -Xmx768m -Xms512m)

OpenSearch

VariableDefaultDescription
OPENSEARCH_HOSTlocalhostOpenSearch hostname
OPENSEARCH_PORT9200OpenSearch port
OPENSEARCH_SCHEMEhttpConnection scheme (http or https)
OPENSEARCH_USERNAME(empty)OpenSearch username (if auth enabled)
OPENSEARCH_PASSWORD(empty)OpenSearch password (if auth enabled)
OPENSEARCH_FORCE_REFRESH_INDEXfalseForce index refresh after each write. Set true only for testing.

LLM providers

VariableDefaultDescription
LLM_DEFAULT_PROVIDERopenaiDefault LLM provider identifier
LLM_DEFAULT_MODELgpt-5.1Default model name
LLM_DEFAULT_PROMPTbasePromptDefault base prompt ID
LLM_CONTEXT_SIZE10Number of previous requests included in each LLM call
LLM_DEBUGfalseEnable verbose LLM request/response logging
OPENAI_API_KEY(empty)OpenAI API key
ANTHROPIC_API_KEY(empty)Anthropic API key
AZURE_OPENAI_API_KEY(empty)Azure OpenAI API key
GEMINI_API_KEY(empty)Google Gemini API key
MISTRAL_API_KEY(empty)Mistral AI API key
HUGGINGFACE_API_KEY(empty)HuggingFace API key
NUEXTRACT_API_KEY(empty)NuExtract API key
BEDROCK_AWS_ACCESS_KEY(empty)AWS access key for Bedrock
BEDROCK_AWS_SECRET_KEY(empty)AWS secret key for Bedrock

Plugins

VariableDefaultDescription
PLUGINS_ROOT_PATHplugins/Path to the directory containing plugin JARs
PLUGINS_TOOLS_ENABLED_TAGSflowerdocs,filesComma-separated whitelist of @ToolService(tags=…) values. Controls which tool sets are registered at startup. Empty list = all tools registered. Untagged @ToolService beans are always registered. Do not combine flowerdocs and alfresco — they both expose document operations for different ECM backends; loading both will expose conflicting tool suites to the LLM. Use exactly one: flowerdocs,files (default), alfresco,files, or files if no ECM backend is needed.

Integration connectors

VariableDefaultDescription
RENDITION_BASE_URL(empty)ARender DSB base URL. Required if the ARender plugin is deployed.
FD_WS_URL(empty)FlowerDocs core web service URL (e.g. http://<flowerdocs-endpoint>/core/). Required if the FlowerDocs plugin is deployed.
ALFRESCO_BASE_URL(empty)Alfresco REST API v1 base URL. Required if the Alfresco plugin is deployed (via PLUGINS_TOOLS_ENABLED_TAGS=alfresco,…).
ALFRESCO_LEGACY_BASE_URL(auto-derived)Base URL for Alfresco legacy Web Script endpoints. Auto-derived from ALFRESCO_BASE_URL when not set (e.g., https://host/alfresco-apihttps://host/alfresco; https://host/alfresco/apihttps://host/alfresco/s). Set explicitly only if the auto-derivation does not match your deployment.
ALFRESCO_CMM_ENABLEDfalseEnable Alfresco Custom Content Model lookup. When disabled, the LLM sees only the built-in cm:* system properties.

Prompts and goals

VariableDefaultDescription
PROMPTS_BACKUP_PATH./prompts/Directory for prompt backup files
GOALS_BACKUP_PATH./goals/Directory for goal backup files

Security

VariableDefaultDescription
app.security.secret-key(dev default)AES/GCM encryption key for stored API secrets. Set a unique value in production.

MCP (Model Context Protocol)

Since 2026.0.0-ft3, MCP servers are registered from the admin UI — see Managing MCP servers. The environment variable below is retained only for the legacy single-server boot-time configuration and is disabled by default.

VariableDefaultDescription
MCP_SSE_URL(empty)Legacy boot-time MCP SSE endpoint URL, read only when the commented block in mcp-server.yml is re-enabled. For runtime management, prefer the admin UI.

Hazelcast

VariableDefaultDescription
HAZELCAST_KUBERNETES_ENABLEDfalseEnable Kubernetes-based Hazelcast discovery
HAZELCAST_KUBERNETES_SERVICE_DNSai-standalone-headlessKubernetes headless service DNS
HAZELCAST_KUBERNETES_NAMESPACEdefaultKubernetes namespace

uxopian-gateway environment variables

The gateway is configured primarily via the mounted gateway-application.yaml file. Environment variables for the gateway control image selection and are injected by the compose .env file:

VariableDefaultDescription
REGISTRYartifactory.arondor.cloud:5001Docker registry host for Artifactory-based image pull. Not used when switching to Cloudsmith images (see Registry access).
UXOPIAN_VERSION2026.0.0-ft3Version tag for uxopian-gateway and uxopian-ai images

In the gateway gateway-application.yaml, the URIs for backend services are hardcoded Docker Compose service names (e.g., http://uxopian-ai:8080).

OpenSearch environment variables

VariableDefaultDescription
OPENSEARCH_VERSION3.0.0OpenSearch image version (used in compose .env)
DISABLE_SECURITY_PLUGINSet to true to disable OpenSearch security plugin (development only)
DISABLE_INSTALL_DEMO_CONFIGSet to true to skip demo config installation
discovery.typeSet to single-node for single-node deployments
OPENSEARCH_JAVA_OPTSJVM options for OpenSearch (e.g., -Xms512m -Xmx512m)