Activated loading of env depending on if it exist

This commit is contained in:
2025-07-18 19:40:34 +02:00
parent 45624037b1
commit 85195e01f9
3 changed files with 51 additions and 0 deletions

View File

@@ -1,8 +1,10 @@
{# Base for docker services #}
restart: {{docker_restart_policy}}
{% if application_id | has_env %}
env_file:
- "{{docker_compose.files.env}}"
{% endif %}
logging:
driver: journald