Skip to content

Nightscout server, MongoDB database, nginx and automated SSL certificate from Let's Encrypt in one docker-compose.

License

Notifications You must be signed in to change notification settings

ireneusz-ptak/ns-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nightscout server

Docker-compose configuration for setting up the Nightscout server along with MongoDB, Nginx reverse proxy and Let's Encrypt SSL certificate.

Installation

  1. Install docker-compose.

  2. Clone this repository: git clone https://github.com/ireneusz-ptak/ns-docker.git .

  3. Change the configuration filename: cp .env.template .env

  4. Set domain name, API secret and/or other setting in .env config file

  5. Run the init script: ./install-ns.sh

  6. Run the server: docker-compose up -d

License

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

About

Nightscout server, MongoDB database, nginx and automated SSL certificate from Let's Encrypt in one docker-compose.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages