-
Notifications
You must be signed in to change notification settings - Fork 71.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heroku is phasing out free tier #7518
Comments
Yes, there is a lot to do in the documentation. Stay tuned. |
Maybe a fallback to azure or another similar provider could make sense? |
A self-hosted option would sure be nice. |
A NAS or a Raspberry can do that. |
Official stable docker and compose files would be great to be able to deploy this on a VPS or NAS. |
I'm moving over to my Proxmox server into a LXC container. Shouldn't be too difficult. For selfhosting, the existing Viable free hosters might be fly.io or vercel.com they should meet the hardware specifications. |
The docker compose file in the repo root is being actively used by some user, @Maxr1998 have you tried it? Based on the experience of supporting Nightscout users for years, I don't think hosting NS on a Pi or a NAS will ever become an "officially supported" way to host Nightscout unless we get new tech support folks who are willing to help people with this. Most of the users we have a not technical at all and would struggle with the setup, unless someone creates a Nightscout image they can just install on an SD card and figures a great way how to document punching holes in literally every common router firewall. Historically a lot of users have tried Pi and other platforms for hosting and have subsequently been asking for a lot of support that's gone to the level where only the developers have been able to help the users, which consumes time and energy from actually working on the software. (No, you can't use npm as root. No, there's no recent Node available for Pi 1 and the version you've installed and have been working on for 50 hours won't work.) Basically - over past five years there's been around 5 people who've been contributing to Nightscout development in a significant manner and I've literally pushed more code to the repo than all the other contributors combined. As such the "technical team" working on Nightscout is absolutely tiny and we can't afford any hosting methods that cause additional support load, unless it's the type of support the people answering questions in Facebook can answer and people like the amazing @psonnera can document in a comprehensive manner. |
Just tested and the Digital Ocean PAAS solution works well. $5 / month and relatively easy installation process. |
I didn't realize there was a compose file in this repo too, that's good to see. Earlier I only found the nightscout/nightscout-docker repo, that's why I made above comment.
That's more than understandable. I just wanted to ensure that the self-hosted variant isn't noticably less stable than the officially supported distributions. I was a bit concerned because the other repo recommended to only use the docker/compose files for development purposes. I'm not using nightscout myself but I've been helping my dad with the setup and am planning to migrate him to some kind of VPS now that Heroku is being phased out. Having a docker distribution will make it much easier for me to set everything up for him. |
this is pretty annyoing, first I thought "I'm not using any of those services anyways" but then I realized "Heroku Dynos" is literally the platform itself >< |
I've opened a related issue on the documentation project to discuss alternatives to Heroku here. @xannasavin While (as per that discussion) we don't currently have a viable path for setting up new installs or modifying migrated installs on fly.io without requiring deeper into technical knowledge, one person at least has successfully been able to use their one-click Heroku migrator to keep their setup intact and free. I hope this is a viable solution to keep the lights on until better documentation can be produced. |
@tsimmons There's a helpful gist here that pretty much covers everything for self hosting. I managed to get 99% of it going without an issue using Ubuntu 20.04.5 LTS (focal) installed in a virtual box VM. The one issue I do have is NS won't open port 1337 on my VM. pm2 loads the web server fine, but no port opening and I cannot browse to the local instance of NS on http://localhost:1337 Others have managed it but the above issue was a show stopper for me. |
Thanks @mdoliver! I actually spun up a Docker version on my AWS Lightsail instance without too much drama. I already had an nginx reverse proxy for SSL termination so I put together my own docker-compose yml and so far is working great, pointed nginx at localhost:1337. I am using the Dexcom bridge so all my data is already there, my iPhone and Apple Watch are happily reporting from the new instance. |
I'd be happy to share my steps if it would be helpful, it was pretty painless. I already was using Docker and docker-compose but I could share what I did for those as well. |
That would be greatly appreciated @tsimmons . I haven't tried Docker yet. Probably something small I'm missing as to why my open port isn't working, I'm so close.... |
Ubuntu 20.04.4 LTS, Docker, NightscoutWith a working Ubuntu 20.04.4 LTS server (mine was an AWS Lightsail instance) Installed docker, docker-compose (from official repos, not Ubuntu PPA which tend to be out of date) see this link and this link
Installed Nightscout from git repo
MY CONTENTS OF docker-compose.yml (Note the three CHANGE_ME entries, also I am using the US Dexcom servers, change if you need other regions)
Test Docker/Nightscout
Configure nginx as a reverse proxyI use nginx for SSL cert termination, this is my redacted nginx config for my Nightscout site/server; in addition, I use certbot/letsencrypt for my SSL cert
|
Hello, Aendes |
I found https://www.digitalocean.com/pricing/app-platform but I'm not sure if this is what one would need? They have a free tier, but I'm unsure if it's the correct type of hosting. |
Please consider contributing to the documentation efforts underway on this topic, so we can close this issue. nightscout/nightscout.github.io#147 There are efforts in motion to enable additional hosting for low cost, and the docs area is the best place for this discussion. |
I don't see this closed since this topic should solve as discussion to discover new alternatives in hosting. |
@xannasavin Nightscout is supported in DO and Oracle, just needs to be documented. Please open a new issue in nightscout.github.io |
Ok I see, thank you |
unfortunately, it looks like railway is now also no more available for free... |
See this blog post: https://blog.heroku.com/next-chapter
Nightscout probably needs to recommend another option in the README.md.
The text was updated successfully, but these errors were encountered: