1
0
Fork 0

Add redis support to nextcloud role

This commit is contained in:
nbouma 2023-03-25 15:46:17 +01:00
parent d96c7b0b7e
commit 40a0586614
2 changed files with 9 additions and 0 deletions

View file

@ -259,3 +259,7 @@ nextcloud_hsts_preload_enabled: false
# See the `collabora-online` role.
nextcloud_collabora_app_wopi_url: ''
nextcloud_collabora_app_wopi_allowlist: '10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16'
# Redis intergration.
nextcloud_redis_hostname: ''
nextcloud_redis_port: 6379

View file

@ -1 +1,6 @@
{% if nextcloud_redis_hostname != '' %}
REDIS_HOST={{ nextcloud_redis_hostname }}
REDIS_HOST_PORT={{ nextcloud_redis_port }}
{% endif %}
{{ nextcloud_container_additional_environment_variables }}