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:
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…
x
Reference in New Issue
Block a user