feat: Use list of dict for environment
This commit is contained in:
parent
4b75fd6232
commit
ba333bee03
@ -39,7 +39,7 @@ PublishPort={{ port }}
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
{% for environment in container.get('environment_vars', []) %}
|
{% for environment in container.get('environment_vars', []) %}
|
||||||
Environment={{ environment }}
|
Environment={{ environment.keys() | first }}={{ environment.values() | first }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Loading…
Reference in New Issue
Block a user