nightscout / nightscout.github.io

website, meta repo for whole project
GNU General Public License v2.0
106 stars 233 forks source link

potentially misconfigured settings for mongo db on docker compose #179

Closed rdpeake closed 1 year ago

rdpeake commented 1 year ago

Hello,

I set up a digital ocean instance of nightscout using the docker version. i followed the instructions and used the https://github.com/nightscout/nightscout.github.io/blob/source/docs/nightscout/docker-compose.yml version mentioned in the documents.

However this has since been flagged by the security system of digital ocean as having a potentially exposed mongo db instance. i followed their instructions and it doesn't appear that i can access it externally, but the fact that the system host was able to detect this has me caution that there may actually be something i have missed with my install.

is there a change i should be making here?

psonnera commented 1 year ago

Yes, I'm working on it. Comment out the ports (all lines) ports:

psonnera commented 1 year ago

Commented out https://github.com/nightscout/nightscout.github.io/commit/df41727d9ba45f2cff7d2577e62363d4d45cdb6a