check for `ipv6_enabled` in the compose template

Checking only `ipv6` isn't sufficient, because it has a default value.
master
lub 4 years ago
parent 581a7fceaf
commit 1a365f469c

@ -26,7 +26,7 @@ services:
{% if bind4 %}
- "{{ bind4 }}:{{ port }}:{{ port }}"
{% endif %}
{% if bind6 %}
{% if ipv6_enabled and bind6 %}
- "{{ bind6 }}:{{ port }}:{{ port }}"
{% endif %}
{% endfor %}

Loading…
Cancel
Save