diff --git a/templates/docker-compose.yml.j2 b/templates/docker-compose.yml.j2 index 6a7e5a8..a1dd2e3 100644 --- a/templates/docker-compose.yml.j2 +++ b/templates/docker-compose.yml.j2 @@ -22,6 +22,12 @@ services: - {{ item }} {% endfor %} {% endif %} +{% if item.labels is defined %}} + labels: +{% for item in item.labels %} + - "{{ item }}" +{% endfor %} +{% endif %} {% if ( item.environment is defined ) or ( item.include_global_env_vars ) %} environment: {% if item.include_global_env_vars %}