added label support
This commit is contained in:
parent
f76805c8b4
commit
c382b2d457
@ -22,6 +22,12 @@ services:
|
|||||||
- {{ item }}
|
- {{ item }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% 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 ) %}
|
{% if ( item.environment is defined ) or ( item.include_global_env_vars ) %}
|
||||||
environment:
|
environment:
|
||||||
{% if item.include_global_env_vars %}
|
{% if item.include_global_env_vars %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user