Skip to content

Commit

Permalink
feat(services-container): update with example on environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
esolitos authored and gitbutler-client committed Aug 21, 2024
1 parent 0cc1051 commit 73484f9
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions en/reference/services-container.html
Original file line number Diff line number Diff line change
Expand Up @@ -555,11 +555,20 @@ <h2 id="nodes">nodes</h2>

<h2 id="environment-variables">environment-variables</h2>
<p>
Add children elements to <code>nodes</code> 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 <code>nodes</code>. The format is a list of key-value pairs, where the key is the name of
the environment variable.
</p>


<p>Example:</p>
<pre>
&lt;nodes&gt;
&lt;environment-variables&gt;
&lt;KMP_SETTING&gt;1&lt;/KMP_SETTING&gt;
&lt;KMP_AFFINITY&gt;granularity=fine,verbose,compact,1,0&lt;/KMP_AFFINITY&gt;
&lt;/environment-variables&gt;
&lt;node/&gt;
</pre>

<h2 id="jvm">jvm</h2>
<p>
Expand Down

0 comments on commit 73484f9

Please sign in to comment.