diff --git a/core/lldap.nomad b/core/lldap.nomad index ddd1ee7..38e5a27 100644 --- a/core/lldap.nomad +++ b/core/lldap.nomad @@ -92,11 +92,6 @@ job "lldap" { source = "secrets/lldap_config.toml" target = "/lldap_config.toml" } - - env = { - "LLDAP_LDAP_PORT" = "${NOMAD_PORT_ldap}" - "LLDAP_HTTP_PORT" = "${NOMAD_PORT_web}" - } } vault { @@ -106,6 +101,11 @@ job "lldap" { ] } + env = { + "LLDAP_LDAP_PORT" = "${NOMAD_PORT_ldap}" + "LLDAP_HTTP_PORT" = "${NOMAD_PORT_web}" + } + template { data = <