Put IPv6 address in brackets

This commit is contained in:
Alexander Graf
2023-01-25 14:05:42 +01:00
parent 35331a4295
commit 8b1eb020e2

View File

@@ -33,7 +33,7 @@ services:
- "{{ bind4 }}:{{ port }}:{{ port }}"
{% endif %}
{% if ipv6_enabled and bind6 %}
- "{{ bind6 }}:{{ port }}:{{ port }}"
- "[{{ bind6 }}]:{{ port }}:{{ port }}"
{% endif %}
{% endfor %}
networks: