added label support
This commit is contained in:
parent
f76805c8b4
commit
c382b2d457
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user