Update lldap to use dynamic ports
This commit is contained in:
parent
b098a325f8
commit
cf2779c971
@ -9,12 +9,10 @@ job "lldap" {
|
||||
|
||||
port "web" {
|
||||
host_network = "loopback"
|
||||
to = 17170
|
||||
}
|
||||
|
||||
port "ldap" {
|
||||
host_network = "loopback"
|
||||
to = 3890
|
||||
}
|
||||
}
|
||||
|
||||
@ -92,6 +90,11 @@ 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 {
|
||||
|
Loading…
Reference in New Issue
Block a user