Skip to content

Commit

Permalink
Add Nightscout app (#134)
Browse files Browse the repository at this point in the history
* Add Nightscout app

* Use passwords feature and set auto timezone
  • Loading branch information
arvchristos committed Apr 15, 2024
1 parent f0d0096 commit e5e86b5
Show file tree
Hide file tree
Showing 7 changed files with 72 additions and 0 deletions.
63 changes: 63 additions & 0 deletions servapps/Nightscout/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"cosmos-installer": {
},
"minVersion": "0.4.0",
"services": {
"{ServiceName}": {
"image": "nightscout/cgm-remote-monitor:latest",
"container_name": "{ServiceName}",
"restart": "unless-stopped",
"environment": [
"NODE_ENV=production",
"TZ=auto",
"INSECURE_USE_HTTP=true",
"MONGO_CONNECTION=mongodb://{ServiceName}-mongo:27017/nightscout",
"API_SECRET={Passwords.0}",
"ENABLE=careportal rawbg iob",
"AUTH_DEFAULT_ROLES=denied"
],
"labels": {
"cosmos-auto-update": "true",
"cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Nightscout/icon.png",
"cosmos-stack": "{ServiceName}",
"cosmos-stack-main": "{ServiceName}"
},
"volumes": [],
"routes": [
{
"name": "{ServiceName}",
"description": "Expose {ServiceName} to the web",
"useHost": true,
"target": "http://{ServiceName}:1337",
"mode": "SERVAPP",
"Timeout": 14400000,
"ThrottlePerMinute": 12000,
"BlockCommonBots": true,
"SmartShield": {
"Enabled": true
}
}
]
},

"{ServiceName}-mongo": {
"image": "mongo:4.4",
"container_name": "{ServiceName}-mongo",
"hostname": "{ServiceName}-mongo",
"labels": {
"cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Nightscout/icon_mongo.png",
"cosmos-stack": "{ServiceName}",
"cosmos-stack-main": "{ServiceName}"
},
"environment": [],
"restart": "unless-stopped",
"volumes": [
{
"source": "{ServiceName}-mongo-data",
"target": "/data/db",
"type": "volume"
}
]
}
}
}
9 changes: 9 additions & 0 deletions servapps/Nightscout/description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Nightscout",
"description": "Web-based CGM (Continuous Glucose Monitor) to allow multiple caregivers to remotely view a patient's glucose data in real time",
"longDescription": "<p>Nightscout (also known as CGM in the Cloud) is an open-source cloud application used by people with diabetes and parents of kids with diabetes to visualize, store and share the data from their Continuous Glucose Monitoring sensors in real-time. Once setup, Nightscout acts as a central repository of blood glucose and insulin dosing/treatment data for a single person, allowing you to view the CGM graph and treatment data anywhere using just a web browser connected to the internet.</p>",
"tags": ["health", "cgm", "diabetes"],
"repository": "https://github.com/nightscout/cgm-remote-monitor",
"image": "https://hub.docker.com/r/nightscout/cgm-remote-monitor",
"supported_architectures": ["amd64", "arm64"]
}
Binary file added servapps/Nightscout/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/Nightscout/icon_mongo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/Nightscout/screenshots/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/Nightscout/screenshots/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/Nightscout/screenshots/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e5e86b5

Please sign in to comment.