Skip to content

Commit 25ab2f2

Browse files
authored
Merge pull request #42 from TsukaTsukiAlicex/master
User nomad ports for advertise
2 parents 53a7d8a + 4822505 commit 25ab2f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/base.hcl.j2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ disable_update_check = {{ nomad_disable_update_check | bool | lower }}
88

99
bind_addr = "{{ nomad_bind_address }}"
1010
advertise {
11-
http = "{{ nomad_advertise_address }}"
12-
rpc = "{{ nomad_advertise_address }}"
13-
serf = "{{ nomad_advertise_address }}"
11+
http = "{{ nomad_advertise_address }}:{{ nomad_ports_http }}"
12+
rpc = "{{ nomad_advertise_address }}:{{ nomad_ports_rpc }}"
13+
serf = "{{ nomad_advertise_address }}:{{ nomad_ports_serf }}"
1414
}
1515
ports {
1616
http = {{ nomad_ports['http'] }}

0 commit comments

Comments
 (0)