Add support for logg

This commit is contained in:
Corbin Bartsch 2022-04-29 01:07:25 -04:00
parent 721d8c9926
commit 738ad81999
Signed by: coredotbin
GPG Key ID: 32D3B80A08D93212

View File

@ -110,6 +110,16 @@ services:
- {{ dns_entry }}
{% endfor %}
{% endif %}
{% if container.logging.driver is defined %}
logging:
driver: {{ container.logging.driver }}
{% if container.logging.options is defined %}
options:
{% for option in container.logging.options %}
{{ option }}: {{ container.logging.options[option] }}
{% endfor %}
{% endif %}
{% endif %}
{% if container.restart is defined %}
restart: {{ container.restart }}
{% endif %}