Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/push/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM alpine

RUN wget https://github.com/nextcloud/notify_push/releases/download/v0.6.3/notify_push-`uname -m`-unknown-linux-musl -O /notify_push && chmod +x /notify_push && /notify_push --version
RUN wget https://github.com/nextcloud/notify_push/releases/download/v1.1.0/notify_push-`uname -m`-unknown-linux-musl -O /notify_push && chmod +x /notify_push && /notify_push --version

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wondering if we can just always use the latest here somehow?


EXPOSE 7867

Expand Down
28 changes: 28 additions & 0 deletions docs/services/notify_push.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Notify Push service

Prepare your setup:
* Setup your server with https.
* Install `notify_push` app.
* Start `push` alongside the other services:
```
docker compose up nextcloud proxy push
```

Configure `notify_push` on the nextcloud instance:
* Configure the `notify_push` url:
```
./occ notify_push:setup http://push:7867/push
```
Once `notify_push:setup` finishes you can test the setup:
```bash
./occ notify_push:self-test
```

## Fixing problems:

If the version does not match:
* Alter `docker/push/Dockerfile`.
* Rebuild the image (`docker build .`).
* Replace the push image in `docker-compose.yml`.
* Tear down and restart the push service.

Loading