Add initial fragment support
This commit is contained in:
parent
e98f0e954e
commit
5eca1af323
@ -3,8 +3,12 @@
|
||||
services:
|
||||
{% for container in containers %}
|
||||
{% if container.active %}
|
||||
{{ container.service_name }}:
|
||||
{{ container.service_name }}:{% if container.anchor is defined %} &{{ container.anchor }}{% endif %}
|
||||
{% if container.fragment is defined %}
|
||||
<<: *{{ container.fragment }}
|
||||
{% else %}
|
||||
image: {{ container.image }}
|
||||
{% endif %}
|
||||
container_name: {{ container.container_name | default(container.service_name) }}
|
||||
{% if container.extra_hosts is defined %}
|
||||
extra_hosts:
|
||||
|
Loading…
x
Reference in New Issue
Block a user