Add support for logg
This commit is contained in:
parent
721d8c9926
commit
738ad81999
@ -110,6 +110,16 @@ services:
|
|||||||
- {{ dns_entry }}
|
- {{ dns_entry }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% 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 %}
|
{% if container.restart is defined %}
|
||||||
restart: {{ container.restart }}
|
restart: {{ container.restart }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user