Add harbor to ansible
This commit is contained in:
parent
67d0c8d875
commit
3175b6a42b
13 changed files with 158 additions and 769 deletions
_ansible/templates
|
@ -14,6 +14,7 @@
|
|||
|
||||
{{ svc.caddy_extra | indent(width='\t', first=True) if svc.caddy_extra|default(false) }}
|
||||
|
||||
{% if svc.caddy_default|default(true) %}
|
||||
handle {
|
||||
{% if svc.faas_function|default(false) %}
|
||||
import faas {{ svc.faas_function }}
|
||||
|
@ -21,6 +22,7 @@
|
|||
reverse_proxy {{ svc.docker_host|default(svc.name) }}:{{ svc.port }}
|
||||
{% endif %}
|
||||
}
|
||||
{% endif %}
|
||||
}
|
||||
|
||||
{% if svc.www_domain|default(false) %}
|
||||
|
|
Reference in a new issue