mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-10-30 01:32:23 +00: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:
@@ -26,7 +26,7 @@ services:
|
||||
{% if bind4 %}
|
||||
- "{{ bind4 }}:{{ port }}:{{ port }}"
|
||||
{% endif %}
|
||||
{% if bind6 %}
|
||||
{% if ipv6_enabled and bind6 %}
|
||||
- "{{ bind6 }}:{{ port }}:{{ port }}"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user