Skip to content

Commit

Permalink
Docker Compose containers ports bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ph3nol committed Aug 18, 2017
1 parent 121d695 commit 4b4a29c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file modified dist/docker-arch.phar
Binary file not shown.
5 changes: 3 additions & 2 deletions src/Application/Resources/views/Base/docker-compose.yml.twig
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ services:

{% endfor %}
{% endif %}
{% if service.ports|length %}
{% set ports = service.dockerContainer.ports %}
{% if ports|length %}
{# ----------------------------------------------------- Ports #}
ports:
{% for publicPort, internalPort in service.ports %}
{% for publicPort, internalPort in ports %}
- {{ publicPort }}:{{ internalPort }}
{% endfor %}
{% endif %}
Expand Down

0 comments on commit 4b4a29c

Please sign in to comment.