# Self-hosted mattermost and push notifications

**URL:** <https://forum.mattermost.com/t/self-hosted-mattermost-and-push-notifications/10765>\
**Category:** Troubleshooting\
**Created:** [November 20, 2020, 4:13am UTC](https://forum.mattermost.com/t/self-hosted-mattermost-and-push-notifications/10765 "2020-11-20T04:13:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![pacodekumite](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@pacodekumite](https://forum.mattermost.com/u/pacodekumite)\
**Post date:** [November 20, 2020, 4:13am UTC](https://forum.mattermost.com/t/self-hosted-mattermost-and-push-notifications/10765/1 "2020-11-20T04:13:40Z")

</div>

Hi. I’ve read all the docs I can find on this, and I was wondering if I could just get a few things clarified.

1. Can we use TPNS within our organization, if we are fine with non-production level SLAs? What are the limitations? e.g. rate limits, etc… How reliable is it? Seems to work perfectly so far.

2. If we use our own push proxy and our own key, do we have to compile the mobile clients from source (with the config changes)? In this case, do most people just publish their own version of the mobile clients in Google Play/App Store? For android, it’s probably simple enough to install directly from apk, but for iOS, I don’t think its so simple.

Thanks to the mattermost devs for this wonderful software.

---

<div class="post-metadata">

**Author:** ![XxLilBoPeepsxX](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/xxlilbopeepsxx/32/4993_2.png) [@XxLilBoPeepsxX](https://forum.mattermost.com/u/XxLilBoPeepsxX)\
**Post date:** [November 20, 2020, 5:19am UTC](https://forum.mattermost.com/t/self-hosted-mattermost-and-push-notifications/10765/2 "2020-11-20T05:19:58Z")

</div>

I’m glad to hear that you’re enjoying your experience with Mattermost! As far as I personally know I don’t believe that there are any rate limits if your using your own servers, but I know @ahmaddanial would be able to clarify further!

---

<div class="post-metadata">

**Author:** ![pacodekumite](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@pacodekumite](https://forum.mattermost.com/u/pacodekumite)\
**Post date:** [November 20, 2020, 2:44pm UTC](https://forum.mattermost.com/t/self-hosted-mattermost-and-push-notifications/10765/3 "2020-11-20T14:44:15Z")

</div>

Thank you for your reply. I like the idea of self-hosting the server component. But it seems that to self-host the push proxy, I also have to compile and distribute custom copies of the mobile apps. Although I like that idea too, I’m just concerned that non-tech people in my org (especially iOS users) will have too many issues trying to get a custom app installed on their phones.

Ideally, I would like to self-host the server, but use TPNS ([https://push-test.mattermost.com](https://push-test.mattermost.com)) as the push notification server, just so that we can simply install the mobile client apps directly from the stores. But, I certainly don’t want to violate any of the terms of use, or abuse the TPNS. We’ll likely only ever have a handful or two of concurrent users.

---

<div class="post-metadata">

**Author:** ![ahmaddanial](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/ahmaddanial/32/2938_2.png) [@ahmaddanial](https://forum.mattermost.com/u/ahmaddanial)\
**Post date:** [November 23, 2020, 3:53pm UTC](https://forum.mattermost.com/t/self-hosted-mattermost-and-push-notifications/10765/4 "2020-11-23T15:53:43Z")

</div>

Hi, @pacodekumite

Happy to know that you are enjoying Mattermost. With reference to the questions that you have:

1. The usage of [TPNS](https://docs.mattermost.com/overview/faq.html#tpns) works well is you are clear and fine with the limitations listed in the documentation. No rate limitation. So far it has been working well for me too in my staging environment.

2. That is right. The requirement of [building and compiling](https://docs.mattermost.com/mobile/mobile-compile-yourself.html) the mobile app yourself comes into play if you want to customize the mobile apps yourself (for example, using [EMM](https://docs.mattermost.com/mobile/mobile-appconfig.html) or you want to host your own push proxy server instead of using one of Mattermost’s hosted versions.

If you are subscribed to E10/E20, you can utilize the [HPNS](https://docs.mattermost.com/mobile/mobile-hpns.html) as well as another alternative.

---

<div class="post-metadata">

**Author:** ![XxLilBoPeepsxX](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/xxlilbopeepsxx/32/4993_2.png) [@XxLilBoPeepsxX](https://forum.mattermost.com/u/XxLilBoPeepsxX)\
**Post date:** [November 25, 2020, 3:53pm UTC](https://forum.mattermost.com/t/self-hosted-mattermost-and-push-notifications/10765/5 "2020-11-25T15:53:31Z")

</div>

My alternative thought to what @ahmaddanial so kindly said above, is if your organization has the resources/willingness to pay the small fees to simply publish your custom MM apps to the iOS and Android App stores? If you could, then your organization’s users could install your app just like any other app from the app store, and therefore (hopefully) wouldn’t be as big of an issue for the less technical among you.

---

<div class="post-metadata">

**Author:** ![pacodekumite](https://avatars.discourse-cdn.com/v4/letter/p/76d3ee/32.png) [@pacodekumite](https://forum.mattermost.com/u/pacodekumite)\
**Post date:** [November 25, 2020, 5:16pm UTC](https://forum.mattermost.com/t/self-hosted-mattermost-and-push-notifications/10765/6 "2020-11-25T17:16:14Z")

</div>

Thank you both for your comments. I’ll definitely check out how involved the process is for compiling the mobile apps. For now, I’m very happy to just use the out-of-the-box experience, while we only have 3-4 users actively using the app. But in the future, I’m almost sure we will move to E10 or custom builds.

Thanks again for this awesome platform. What an age it is in which we are living.

---

<div class="post-metadata">

**Author:** ![XxLilBoPeepsxX](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/xxlilbopeepsxx/32/4993_2.png) [@XxLilBoPeepsxX](https://forum.mattermost.com/u/XxLilBoPeepsxX)\
**Post date:** [November 25, 2020, 5:24pm UTC](https://forum.mattermost.com/t/self-hosted-mattermost-and-push-notifications/10765/7 "2020-11-25T17:24:07Z")

</div>

Of course, I hope it goes well! If you encounter any issues in the future, if/when you decide to upgrade, or create custom builds, please always feel free to open additional threads, or directly message me and I’ll be happy to assist you with the creation and deployment of your custom builds!

---

<div class="post-metadata">

**Author:** ![kananbrooks](https://avatars.discourse-cdn.com/v4/letter/k/df705f/32.png) [@kananbrooks](https://forum.mattermost.com/u/kananbrooks)\
**Post date:** [November 25, 2024, 8:47am UTC](https://forum.mattermost.com/t/self-hosted-mattermost-and-push-notifications/10765/8 "2024-11-25T08:47:50Z")

</div>

I’m[](https://instpro.net/)also exploring options for push notifications on a self hosted mattermost setup. Has anyone tried moving to E10 or custom builds for scalability? Any insights would be helpful

---

<div class="post-metadata">

**Author:** ![john.combs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/john.combs/32/7118_2.png) [@john.combs](https://forum.mattermost.com/u/john.combs)\
**Post date:** [November 26, 2024, 10:08pm UTC](https://forum.mattermost.com/t/self-hosted-mattermost-and-push-notifications/10765/9 "2024-11-26T22:08:46Z")

</div>

Hi Kanan! Upgrading to E10 or using custom builds can indeed help. Here’s a guide on [push notifications](https://docs.mattermost.com/deploy/mobile-hpns.html) that might offer some insights for your setup!
