Skip to content

Commit 73484f9

Browse files
esolitosgitbutler-client
authored andcommitted
feat(services-container): update with example on environment variables
1 parent 0cc1051 commit 73484f9

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

en/reference/services-container.html

+13-4
Original file line numberDiff line numberDiff line change
@@ -555,11 +555,20 @@ <h2 id="nodes">nodes</h2>
555555

556556
<h2 id="environment-variables">environment-variables</h2>
557557
<p>
558-
Add children elements to <code>nodes</code> for environment variables - see example below.
559-
These are set before the services are started on the container node - available for the Container.
558+
Allows setting environment variables for the container, those are set before the services are started on the container
559+
node.
560+
This needs to be a child of <code>nodes</code>. The format is a list of key-value pairs, where the key is the name of
561+
the environment variable.
560562
</p>
561-
562-
563+
<p>Example:</p>
564+
<pre>
565+
&lt;nodes&gt;
566+
&lt;environment-variables&gt;
567+
&lt;KMP_SETTING&gt;1&lt;/KMP_SETTING&gt;
568+
&lt;KMP_AFFINITY&gt;granularity=fine,verbose,compact,1,0&lt;/KMP_AFFINITY&gt;
569+
&lt;/environment-variables&gt;
570+
&lt;node/&gt;
571+
</pre>
563572

564573
<h2 id="jvm">jvm</h2>
565574
<p>

0 commit comments

Comments
 (0)