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:


Must be scrutinized extra carefully

Category: IT|Nov 28, 2022 | Author: Admin

Important drivers launched

Category: IT|Nov 27, 2022 | Author: Admin

Soon, Apple will make the big iPhone change

Category: Apple|Nov 26, 2022 | Author: Admin

Approaching the Apple iPhone

Category: Google|Nov 25, 2022 | Author: Admin

Apple fans will like this for the Tesla

Category: Apple|Nov 24, 2022 | Author: Admin

Microsoft is making an iPhone comeback

Category: Microsoft|Nov 23, 2022 | Author: Admin

This is how the iPhone 15 Pro becomes much faster

Category: Apple|Nov 22, 2022 | Author: Admin

Apple makes iPhone more like Android (if you want)

Category: Apple|Nov 21, 2022 | Author: Admin

These countries cheat the most and this is how they do it

Category: General|Nov 20, 2022 | Author: Admin

How to set up NightScout Docker using CyberPanel Hosting panel

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

It will soon be over and out, warns Microsoft

Category: Microsoft|Nov 18, 2022 | Author: Admin

Now they can't fool around

Category: General|Nov 17, 2022 | Author: Admin

Must do as Meta

Category: General|Nov 16, 2022 | Author: Admin

Now Microsoft's big scare begins

Category: Microsoft|Nov 15, 2022 | Author: Admin

If they lose power, it's over and done with

Category: Google|Nov 14, 2022 | Author: Admin
more