removes need to define global_env_vars in each container dict object
This commit is contained in:
parent
98007791fc
commit
faa8801cf6
@ -34,7 +34,7 @@ services:
|
|||||||
- {{ port }}
|
- {{ port }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if ( container.environment is defined ) or ( container.include_global_env_vars ) %}
|
{% if ( container.environment is defined ) or ( container.include_global_env_vars is defined and container.include_global_env_vars) %}
|
||||||
environment:
|
environment:
|
||||||
{% if container.include_global_env_vars %}
|
{% if container.include_global_env_vars %}
|
||||||
{% for global_var in global_env_vars %}
|
{% for global_var in global_env_vars %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user