A docker compose file for quickly starting up Nightscout Web Monitor.
-
Clone this repo.
git clone https://github.com/samclotf/Nightscount-Docker-Compose.git
cd Nightscount-Docker-Compose
-
Create a
.env
file.cp .env.default .env
-
Open
.env
. Set API_SECRET to a strong password. Set DB_PASSWORD to a different strong password. -
Open
mongo-init.js
and changePASSWORD HERE
to the DB_PASSWORD. -
Create the external network.
docker network create web
-
Build the Nightscout image.
docker-compose build
-
Start it up.
docker-compose up -d