From e2fae25592345999aebb13a36d9c6e3dccc31895 Mon Sep 17 00:00:00 2001 From: Bert-Jan Fikse Date: Fri, 10 Apr 2026 11:18:28 +0200 Subject: [PATCH] feat: make nextcloud_notify_push_image configurable Signed-off-by: Bert-Jan Fikse --- roles/nextcloud/defaults/main.yml | 1 + roles/nextcloud/templates/docker-compose.yml.j2 | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/roles/nextcloud/defaults/main.yml b/roles/nextcloud/defaults/main.yml index 478bfb7..7535b5a 100644 --- a/roles/nextcloud/defaults/main.yml +++ b/roles/nextcloud/defaults/main.yml @@ -59,6 +59,7 @@ nextcloud_trusted_proxies: "172.16.0.0/12" # File locking and real-time push notifications nextcloud_enable_notify_push: false +nextcloud_notify_push_image: "icewind1991/notify_push:1.3.1" # Non-default apps to install and enable nextcloud_apps_to_install: diff --git a/roles/nextcloud/templates/docker-compose.yml.j2 b/roles/nextcloud/templates/docker-compose.yml.j2 index fc86bdd..9f15760 100644 --- a/roles/nextcloud/templates/docker-compose.yml.j2 +++ b/roles/nextcloud/templates/docker-compose.yml.j2 @@ -82,8 +82,8 @@ services: POSTGRES_DB: {{ nextcloud_postgres_db }} POSTGRES_USER: {{ nextcloud_postgres_user }} POSTGRES_PASSWORD: {{ nextcloud_postgres_password }} - NEXTCLOUD_ADMIN_USER: {{ nextcloud_admin_user }} - NEXTCLOUD_ADMIN_PASSWORD: {{ nextcloud_admin_password }} + NEXTCLOUD_ADMIN_USER: {{ nextcloud_admin_user }} + NEXTCLOUD_ADMIN_PASSWORD: {{ nextcloud_admin_password }} REDIS_HOST: redis PHP_MEMORY_LIMIT: {{ nextcloud_memory_limit_mb }}M PHP_UPLOAD_LIMIT: {{ nextcloud_upload_limit_mb }}M @@ -117,7 +117,7 @@ services: {% if nextcloud_enable_notify_push %} notify-push: - image: icewind1991/notify_push + image: {{ nextcloud_notify_push_image }} restart: always depends_on: - redis