Setting up using NGINX Proxy Manager as Reverse Proxy
... and how not setting UID:GID in docker-compose.yml can make you burn lifetime while "fixing" the proxy ...
If you want to setup ntfy server for self-hosting with docker and NGINX Proxy Manager as Reverse Proxy
- Everything else you need to know is at https://docs.ntfy.sh/config/
- But if you dont't run your container as root, e.g. as the unprivileged user docker, you MUST set
user: UID:GID # eg. 1030:999 (docker:docker in my case, check with id $USER in shell)
else in case you setup authentication and attachments and stuff you will wonder why you can send messages from the Android App to the server but whatever you send it won't be received from your phone/app! That is because the files the container touches are root:root if you don't set user: UID:GID.
- And then you search for hours in the proxy settings - because according to forums, issue trackers and other sources ITS ALWAYS THE PROXY!1!11!
However. Besides this ntfy is a far better and easier solution than NextPush which is easys to install but wasn't easy to get to work with Nextcloud AIO. The hell knows why.