Video coming soon…

🏥 Setup Nightscout — Self-Hosted CGM Glucose Monitoring

Deploy Nightscout on Ubuntu with Docker — the open-source CGM remote monitor that puts continuous glucose data on your own server, viewable by you and the people who care for you, on port 8194.

⚠️ This script is provided for demo and testing purposes only. Not intended for production use.

📦 Resources & Setup Scripts

Grab the automated bash script from GitHub to follow along with the video.

⚠️ Not a medical device — never use it for treatment decisions. Automated install script deploys Nightscout with MongoDB on port 8194 and generates an API_SECRET you'll need for uploaders.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/clinic/nightscout/nightscout-ubuntu.sh
chmod +x nightscout-ubuntu.sh
./nightscout-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/main/clinic/nightscout/nightscout-ubuntu.sh

2 Make it Executable

chmod +x nightscout-ubuntu.sh

3 Run the Installer

./nightscout-ubuntu.sh

4 Open the Web UI and Connect an Uploader

http://your-server-ip:8194

Ports Used

PortPurpose
8194Nightscout web dashboard (mapped from container port 1337)
27017MongoDB — internal to the Docker network, not exposed to the host

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions