From 2c24daf43a4ccd21a01d50a7cb76d672d0b78760 Mon Sep 17 00:00:00 2001 From: Michael Schurter Date: Fri, 4 Aug 2017 13:01:25 -0700 Subject: [PATCH] Document network env vars Looks like I accidently dropped them when combining env var listings in PR #2709 --- .../source/docs/runtime/_envvars.html.md.erb | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/website/source/docs/runtime/_envvars.html.md.erb b/website/source/docs/runtime/_envvars.html.md.erb index 37f8bcd0c19..e50bb68ea53 100644 --- a/website/source/docs/runtime/_envvars.html.md.erb +++ b/website/source/docs/runtime/_envvars.html.md.erb @@ -106,4 +106,34 @@ information. + + NOMAD_IP_<task>_<label> + + Host IP for the given port label and task for tasks in + the same task group. + + + + NOMAD_PORT_<task>_<label> + + Port for the given port label and task 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. + + + + NOMAD_ADDR_<task>_<label> + + Host IP:Port pair for the given port label and + task for tasks in the same task group. + + + + NOMAD_HOST_PORT_<task>_<label> + + Port on the host for the port label and task for tasks + in the same task group. + +