Post

Nightscout

Nightscout is an open source, DIY project that allows real time access to a CGM data via personal website, smartwatch watchers, or apps and widgets available for smartphones.

Nightscout

Installation

Default install:

1
bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/nightscout.sh)"
CPU: 2 cores RAM: 2048 MB Disk: 10 GB OS: Debian 13

Configuration

Config file:

1
/opt/nightscout/my.env

Notes

Nightscout requires configuring my.env with your Mongo connection string. API_SECRET has been generated and saved to ~/nightscout.creds.
Edit /opt/nightscout/my.env to configure your CGM source (Dexcom/CareLink). Then run: systemctl restart nightscout
Official Configuration Guide: https://nightscout.github.io/nightscout/setup_variables/
Nightscout requires HTTPS for many features (security, tokens, PWA). Usage of a reverse proxy (e.g. Nginx Proxy Manager, Traefik, Caddy) is highly recommended.

Web Interface

Port: 1337

This post is licensed under CC BY 4.0 by the author.