Skip to content

Commit

Permalink
Document <task> network env vars
Browse files Browse the repository at this point in the history
Looks like I accidently dropped them when combining env var listings in
PR #2709
  • Loading branch information
schmichael committed Aug 4, 2017
1 parent 3da3903 commit 29951ab
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions website/source/docs/runtime/_envvars.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,34 @@
information.
</td>
</tr>
<tr>
<td><tt>NOMAD_IP_&lt;task&gt;_&lt;label&gt;</tt></td>
<td>
Host IP for the given port <tt>label</tt> and <tt>task</tt> for tasks in
the same task group.
</td>
</tr>
<tr>
<td><tt>NOMAD_PORT_&lt;task&gt;_&lt;label&gt;</tt></td>
<td>
Port for the given port <tt>label</tt> and <tt>task</tt> for tasks in
the same task group. Driver-specified port when a port
map is used, otherwise the host's static or dynamic port allocation.
Services should bind to this port.
</td>
</tr>
<tr>
<td><tt>NOMAD_ADDR_&lt;task&gt;_&lt;label&gt;</tt></td>
<td>
Host <tt>IP:Port</tt> pair for the given port <tt>label</tt> and
<tt>task</tt> for tasks in the same task group.
</td>
</tr>
<tr>
<td><tt>NOMAD_HOST_PORT_&lt;task&gt;_&lt;label&gt;</tt></td>
<td>
Port on the host for the port <tt>label</tt> and <tt>task</tt> for tasks
in the same task group.
</td>
</tr>
</table>

0 comments on commit 29951ab

Please sign in to comment.