Tutorials

Nov 19, 2022 News Targeted NT nightscout xDrip+ diabetes cgm docker

How to set up NightScout Docker using CyberPanel Hosting panel

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.

load more

Admits lying

Category: General|Feb 2, 2023 | Author: Admin

This is what Netflix says about account sharing in Norway

Category: General|Feb 1, 2023 | Author: Admin

Fear of SSD health Trond Bee·30 January 2023 at 16:43

Category: General|Jan 31, 2023 | Author: Admin

The new Apple chips are coming this year and they will break records

Category: Apple|Jan 30, 2023 | Author: Admin

The iPhone 15 doesn't get this either

Category: Apple|Jan 29, 2023 | Author: Admin

After 26 years you can download

Category: General|Jan 28, 2023 | Author: Admin

Mac mini M2 256GB up to 50 percent slower

Category: Apple|Jan 27, 2023 | Author: Admin

Now HomePod can sense

Category: Apple|Jan 26, 2023 | Author: Admin

NASA and DARPA will test nuclear thermal engines for crewed missions to Mars

Category: General|Jan 25, 2023 | Author: Admin

Get ready to retire 30-year-old Windows technology

Category: Microsoft|Jan 24, 2023 | Author: Admin

“iPhone 15 looks like Android”

Category: Apple|Jan 23, 2023 | Author: Admin

Samsung has heard everyone's prayers

Category: General|Jan 22, 2023 | Author: Admin

This took them five years

Category: Microsoft|Jan 21, 2023 | Author: Admin

Apple activated the secret switch

Category: Apple|Jan 20, 2023 | Author: Admin

Microsoft fires 10,000

Category: Microsoft|Jan 19, 2023 | Author: Admin
more