Docker-compose configuration for setting up the Nightscout server along with MongoDB, Nginx reverse proxy and Let's Encrypt SSL certificate.
-
Clone this repository:
git clone https://github.com/ireneusz-ptak/ns-docker.git .
-
Change the configuration filename:
cp .env.template .env
-
Set domain name, API secret and/or other setting in .env config file
-
Run the init script:
./install-ns.sh
-
Run the server:
docker-compose up -d
All code in this repository is licensed under the terms of the MIT License
. For further information please refer to the LICENSE
file.
Certificate installation thanks to https://github.com/wmnnd/nginx-certbot