소스 검색

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

Blaine Story 3 년 전
부모
커밋
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) %}