feat: add ability to add extra_hosts to nextcloud docker-compose
This commit is contained in:
parent
d3bf520bf0
commit
ea8178fcf0
2 changed files with 7 additions and 0 deletions
|
|
@ -102,6 +102,12 @@ services:
|
|||
- {{ nextcloud_docker_volume_dir }}/nextcloud/:/var/www/html
|
||||
networks:
|
||||
- {{ nextcloud_backend_network }}
|
||||
{% if nextcloud_extra_hosts is defined and nextcloud_extra_hosts | length > 0 %}
|
||||
extra_hosts:
|
||||
{% for host in nextcloud_extra_hosts %}
|
||||
- "{{ host }}"
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% if nextcloud_enable_collabora %}
|
||||
collabora:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue