Compose the dns name joining the stack and service names

This commit is contained in:
Andrea Dell'Amico 2020-10-14 17:30:49 +02:00
parent 5ad5121d66
commit cc1e1d992b
1 changed files with 1 additions and 1 deletions

View File

@ -175,5 +175,5 @@ backend {{ srv.acl_name }}_bck
stick-table {{ srv.stick_table }}
{% endif %}
{% endif %}
server-template {{ srv.service_name }}- {{ srv.service_replica_num }} {{ srv.service_name }}_{{ srv.service_name }}:{{ srv.service_port }} {{ srv.backend_options | default('') }} check resolvers docker init-addr libc,none
server-template {{ srv.service_name }}- {{ srv.service_replica_num }} {{ srv.stack_name }}_{{ srv.service_name }}:{{ srv.service_port }} {{ srv.backend_options | default('') }} check resolvers docker init-addr libc,none
{% endfor %}