feat: Use list of dict for environment

This commit is contained in:
pulsar89.5 2024-06-03 18:57:50 +02:00
parent 4b75fd6232
commit ba333bee03

View File

@ -39,7 +39,7 @@ PublishPort={{ port }}
{% endfor %}
{% for environment in container.get('environment_vars', []) %}
Environment={{ environment }}
Environment={{ environment.keys() | first }}={{ environment.values() | first }}
{% endfor %}
[Service]