Add support for logg
This commit is contained in:
parent
721d8c9926
commit
738ad81999
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user