docker-compose variables and setup

This commit is contained in:
Ionut Filip
2018-10-16 12:34:55 +03:00
parent 11a8e49f05
commit 0d164486b4
9 changed files with 27 additions and 13 deletions

View File

@@ -24,7 +24,7 @@ services:
ports:
{% for port in (80, 443, 25, 465, 587, 110, 995, 143, 993) %}
{% if bind4 %}
- "{{ bind4}}:{{ port }}:{{ port }}"
- "{{ bind4 }}:{{ port }}:{{ port }}"
{% endif %}
{% if bind6 %}
- "{{ bind6 }}:{{ port }}:{{ port }}"