diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index b7b61dc..dda11bc 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -16,6 +16,12 @@ services: - {{ item }} {% endfor %} {% endif %} +{% if item.labels is defined %} + labels: +{% for label in item.labels %} + - {{ label }} +{% endfor %} +{% endif %} {% if item.ports is defined %} ports: {% for item in item.ports %}