From 73484f92caea2f6434ef21d147f29629caf7c538 Mon Sep 17 00:00:00 2001 From: Marlon Saglia Date: Wed, 21 Aug 2024 13:52:52 +0200 Subject: [PATCH] feat(services-container): update with example on environment variables --- en/reference/services-container.html | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/en/reference/services-container.html b/en/reference/services-container.html index f964e2582b..2acd764a39 100644 --- a/en/reference/services-container.html +++ b/en/reference/services-container.html @@ -555,11 +555,20 @@

nodes

environment-variables

-Add children elements to nodes for environment variables - see example below. -These are set before the services are started on the container node - available for the Container. + Allows setting environment variables for the container, those are set before the services are started on the container + node. + This needs to be a child of nodes. The format is a list of key-value pairs, where the key is the name of + the environment variable.

- - +

Example:

+
+<nodes>
+    <environment-variables>
+        <KMP_SETTING>1</KMP_SETTING>
+        <KMP_AFFINITY>granularity=fine,verbose,compact,1,0</KMP_AFFINITY>
+    </environment-variables>
+    <node/>
+

jvm