1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-01-28 03:56:43 +02:00

check for ipv6_enabled in the compose template

Checking only `ipv6` isn't sufficient, because it has a default value.
This commit is contained in:
lub 2021-02-12 12:18:22 +01:00
parent 581a7fceaf
commit 1a365f469c

View File

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