Category: Tutorials|Nov 19, 2022 | Author: Admin

How to set up NightScout Docker using CyberPanel Hosting panel

Share on

How to set up NightScout Docker using CyberPanel Hosting panel

I managed to figure out a way to use the docker, it was quite easy actually.
All I needed was the correct config values, and boom, the docker image within CyberPanel was almost like type and up.

1. Have a VPS.
2. go to Manage Images
3. Search for

nightscout/cgm-remote-monitor

 


4. Choose either "Latest" or "Latest_Dev" (I went with "Latest")
5. Click "Create container" top right.
6. Add your config files to this page.
7. You must at least give it 1024MB of memory. (Choose to start Nightscout on restart)

Choose an IP of your choice, most common ports are over 1000, or over 3000.
Any port will do (As long as you don't have any private ports conflicting with your port choice.)



7. Register at https://www.mongodb.com/cloud/atlas/register


8. Use the mongodb+srv:// address you get when setting up a cluster at the atlas. (See image at point 7 for reference where to put

mongodb+srv://

 

How to make a MongoDB server at Atlas:

1. Click "Create" top right.

 

2. Choose "Shared Cluster" at the top.
3. Choose Azure (And Ireland or any other country that you see allows you to do it for free)
4. Continue with the "ServerLess" option.
5. Press "Create Instance"


6. Click Connect.


7. Click on Copy button on the right side.

 

8. Go to your CyberPanel config page, and add this URL to Mongodb (See image point 7 over)

9. Nightscout Configs:


YARN_VERSION
INSECURE_USE_HTTP
MONGODB_URI
API_SECRET
DISPLAY_UNITS
BASE_URL
ENABLE
AUTH_DEFAULT_ROLES
THEME
MONGO_TREATMENTS_COLLECTION
BACKUP_NUM_KEEP
BACKUP_FREQUENCY

 

Values to the configs:
You need a base URL, but it does not have to be a valid domain unless you want to show the values using a domain instead of VPS IP in the browser.

 

14.15.3
1.22.5
true
mongodb+srv://
Your API_Secret from your phone
mmol
https://subdomain.domain.com
careportal basal dbsize rawbg iob maker bridge cob bwp cage iage sage boluscalc pushover treatmentnotify mmconnect loop pump profile food openaps bage alexa override cors
denied
colors
treatments
7
1d

10. Click Save.

11. Click "Start"

12. Go to

HTTP://IP:port
or
https://subdomain.domain.com (Requires more setup)

And you should be all set up.

Sponsored Ads:

Comments:


Edge 125 arrives in Beta with sleeping tab improvements and other changes

Category: IT|May 1, 2024 | Author: Admin

Now the iPad opens

Category: Apple|Apr 30, 2024 | Author: Admin

Woke up locked out of Apple ID on iPhone

Category: Apple|Apr 29, 2024 | Author: Admin

Google has a hidden collection of highly-addictive retro games

Category: Google|Apr 28, 2024 | Author: Admin

Google is officially a $2 trillion company

Category: Google|Apr 27, 2024 | Author: Admin

Snowden: “DO NOT use Reddit!”

Category: IT|Apr 26, 2024 | Author: Admin

Popular Google app used by millions set to close in a few weeks

Category: Google|Apr 25, 2024 | Author: Admin

Cheeky, YouTube!

Category: Google|Apr 24, 2024 | Author: Admin

This is the date Apple will reveal new iPads

Category: Apple|Apr 23, 2024 | Author: Admin

Only possible with VPN

Category: IT|Apr 22, 2024 | Author: Admin

Apple sidles into sideloading in the EU

Category: Apple|Apr 21, 2024 | Author: Admin

Report: Microsoft-OpenAI ownership might get conditional OK from EU regulators

Category: IT|Apr 20, 2024 | Author: Admin

Giant change at Google could change everything

Category: Google|Apr 19, 2024 | Author: Admin

Now Windows will be bothered about this too

Category: Microsoft|Apr 18, 2024 | Author: Admin

Test the new AI trick with Logitech

Category: IT|Apr 17, 2024 | Author: Admin
more