Merge pull request #6 from coredotbin/logging

Add support for logging
This commit is contained in:
Alex Kretzschmar 2022-05-19 09:25:13 -04:00 committed by GitHub
commit 9020e74cb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,6 +134,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.env_file is defined %}
env_file:
{% for envfile in container.env_file %}