Sign in

Mod for nextcloud

nextcloud-notify-push

This mod adds a service to start the notify-push binary.

arch
amd64
built

Use it#

Set DOCKER_MODS on the nextcloud container and recreate it. The mod is pulled on every start; several mods are separated with |.

DOCKER_MODS=ghcr.io/linuxserver-playground/mods:nextcloud-notify-push

:nextcloud-notify-push always gets the newest build. To stay on this one, pin its tag:

DOCKER_MODS=ghcr.io/linuxserver-playground/mods:nextcloud-notify-push-088e1af
services:
  nextcloud:
    image: ghcr.io/linuxserver-playground/nextcloud:latest
    environment:
      - DOCKER_MODS=ghcr.io/linuxserver-playground/mods:nextcloud-notify-push

Details#

Requirements

  • Redis configured in your config.php

Setup

  1. Add DOCKER_MODS=ghcr.io/linuxserver-playground/mods:nextcloud-notify-push to your env.

  2. Make sure that Redis is already configured with Nextcloud.

  3. notify_push should be running and **** Starting notify-push **** appear in the log. Also check for errors.

Reverse Proxy

The reverse proxy of the notify_push service at subfolder /push is handled within the Nextcloud container’s Nginx site conf. Make sure you are on the latest version. If not sure, make sure your Nextcloud container is up to date, then you can delete the existing site conf at /config/nginx/site-confs/default.conf and restart the container. A new conf with the reverse proxy support will be created.

Validation

  1. Read the section about the Test client. Create an app password and connect to your server

    test_client https://cloud.example.com username password
  2. Run occ notify_push:metrics. Step 1 can be skipped if real clients are already connected.

    root@1d0f9bf7fff9:/# occ notify_push:metrics
    Active connection count: 2
    Active user count: 1
    Total connection count: 5
    Total database query count: 1
    Events received: 13
    Messages sent: 3

Community project

Improve this mod, or make your own

Mods are how LinuxServer images grow without getting heavier: a Dockerfile, a few scripts and a mod.yml. If this one is missing something, or you need one like it for another image, an AI agent in our harness can build and test it with you.

Ask your agent

  • The nextcloud-notify-push mod <what is wrong>. Fix it, test it and draft the PR.
  • Make a mod like nextcloud-notify-push for <another image>, and test it.

Making a mod Every way to help Get the harness (opens in a new tab)

Source: nextcloud-notify-push branch (opens in a new tab). Every mod