Просмотр исходного кода

fix base 60 port numbering bug in docker-compose.yml template

Blaine Story 3 лет назад
Родитель
Сommit
24f922ad3c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      roles/docker/templates/docker-compose.yml.j2

+ 1 - 1
roles/docker/templates/docker-compose.yml.j2

@@ -46,7 +46,7 @@ services:
 {% if container.ports is defined %}
     ports:
 {% for port in container.ports %}
-      - {{ port }}
+      - "{{ port }}"
 {% endfor %}
 {% endif %}
 {% if ( container.environment is defined ) or ( container.include_global_env_vars is defined and container.include_global_env_vars) %}