nightscout / nightscout-docker

docker resources for creating Nightscout boxen
37 stars 38 forks source link

status of this repository #12

Open cqrendo opened 2 years ago

cqrendo commented 2 years ago

Since is 7 years old, what is the status of this repository related to install nightScout in a docker container, can be still use and you will get last NightScout release?

psit commented 1 year ago

This docker compose file worked for me as a starting point. The NS version is defined in the compose file:

nightscout:
  image: 'nightscout/cgm-remote-monitor-development:latest'

This will fetch the latest version of NS from the repository, which is still quite old: https://hub.docker.com/r/nightscout/cgm-remote-monitor-development

But if you know, what you are doing, you can change this to e.g. nightscout/cgm-remote-monitor:14.2.6 or even :latest See https://hub.docker.com/r/nightscout/cgm-remote-monitor/tags for available versions. (btw. I recommend not using "latest" but a specific tag, so you can choose if and when to update as there might be breaking changes or known bugs/issues)

Secondly, I had to tweak the MongoDB setup and dropped the mosquitto stuff, but as I said, this repo is a good starting point with people that don't know much about docker compose. I myself googled a lot of things together and it took me only a couple of hours to have it up and running.

Hynesman commented 1 year ago

This docker compose file worked for me as a starting point. The NS version is defined in the compose file:

nightscout:
  image: 'nightscout/cgm-remote-monitor-development:latest'

This will fetch the latest version of NS from the repository, which is still quite old: https://hub.docker.com/r/nightscout/cgm-remote-monitor-development

But if you know, what you are doing, you can change this to e.g. nightscout/cgm-remote-monitor:14.2.6 or even :latest See https://hub.docker.com/r/nightscout/cgm-remote-monitor/tags for available versions. (btw. I recommend not using "latest" but a specific tag, so you can choose if and when to update as there might be breaking changes or known bugs/issues)

Secondly, I had to tweak the MongoDB setup and dropped the mosquitto stuff, but as I said, this repo is a good starting point with people that don't know much about docker compose. I myself googled a lot of things together and it took me only a couple of hours to have it up and running.

how did you tweek it?
I'm getting an error with mosquitto

mastacheata commented 1 year ago

how did you tweek it? I'm getting an error with mosquitto

Check out my PR from a couple years ago. The mosquitto dockerfile used in the original repository is no longer maintained, but the eclipse foundation has since released an official mosquitto dockerfile and they're still maintaining that, which works just fine as a drop-in replacement.

You can see what I changed over here:
https://github.com/nightscout/nightscout-docker/pull/9/files