A docker compose file for quickly starting up Nightscout Web Monitor.
-
Clone this repo.
git clone https://github.com/samclotf/Nightscount-Docker-Compose.gitcd Nightscount-Docker-Compose -
Create a
.envfile.cp .env.default .env -
Open
.env. Set API_SECRET to a strong password. Set DB_PASSWORD to a different strong password. -
Open
mongo-init.jsand changePASSWORD HEREto 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