feat: ability to set extra networks for opencloud
needed for ldap outpost Signed-off-by: Bert-Jan Fikse <bert-jan@whatwedo.ch>
This commit is contained in:
parent
e2fae25592
commit
dbcccc090b
3 changed files with 15 additions and 1 deletions
|
|
@ -103,6 +103,9 @@ services:
|
|||
{% endif %}
|
||||
networks:
|
||||
- {{ opencloud_traefik_network }}
|
||||
{% for net in opencloud_extra_networks %}
|
||||
- {{ net }}
|
||||
{% endfor %}
|
||||
{% if opencloud_extra_hosts is defined and opencloud_extra_hosts | length > 0 %}
|
||||
extra_hosts:
|
||||
{% for host in opencloud_extra_hosts %}
|
||||
|
|
@ -135,4 +138,8 @@ services:
|
|||
|
||||
networks:
|
||||
{{ opencloud_traefik_network }}:
|
||||
external: true
|
||||
external: true
|
||||
{% for net in opencloud_extra_networks %}
|
||||
{{ net }}:
|
||||
external: true
|
||||
{% endfor %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue