feat: ability to set extra networks for nextcloud
needed for ldap outpost Signed-off-by: Bert-Jan Fikse <bert-jan@whatwedo.ch>
This commit is contained in:
parent
77484f1944
commit
468ed34550
3 changed files with 18 additions and 1 deletions
|
|
@ -66,6 +66,9 @@ services:
|
|||
- {{ nextcloud_docker_volume_dir }}/nextcloud/:/var/www/html
|
||||
networks:
|
||||
- {{ nextcloud_backend_network }}
|
||||
{% for net in nextcloud_extra_networks %}
|
||||
- {{ net }}
|
||||
{% endfor %}
|
||||
|
||||
nextcloud:
|
||||
image: {{ nextcloud_image }}
|
||||
|
|
@ -102,6 +105,9 @@ services:
|
|||
- {{ nextcloud_docker_volume_dir }}/nextcloud/:/var/www/html
|
||||
networks:
|
||||
- {{ nextcloud_backend_network }}
|
||||
{% for net in nextcloud_extra_networks %}
|
||||
- {{ net }}
|
||||
{% endfor %}
|
||||
{% if nextcloud_extra_hosts is defined and nextcloud_extra_hosts | length > 0 %}
|
||||
extra_hosts:
|
||||
{% for host in nextcloud_extra_hosts %}
|
||||
|
|
@ -145,4 +151,8 @@ services:
|
|||
networks:
|
||||
{{ nextcloud_backend_network }}:
|
||||
{{ nextcloud_traefik_network }}:
|
||||
external: true
|
||||
external: true
|
||||
{% for net in nextcloud_extra_networks %}
|
||||
{{ net }}:
|
||||
external: true
|
||||
{% endfor %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue