dhermanns / rpi-nightscout

CGM Remote Monitor aka Nightscout for the Raspberry Pi 1/2.
35 stars 49 forks source link

missing Doku: How to connect to the mongo-container from the LAN. #5

Closed jroth-haj closed 6 years ago

jroth-haj commented 7 years ago

To use nightscoutuploader and openaps, I need to remote connect to the mongo-db. How can I do that?

dhermanns commented 7 years ago

Could you elaborate a bit more what your setup is?

I'm using rpi-Nightscout with the mmcommander uploader which supports the Rest-API to upload data.

So I have no need to directly access the mongo db directly (but that shouldn't be a big deal either)...

jroth-haj commented 7 years ago

I run Nightscout and Mongodb as docker image on my raspi. Now I want use NightscoutUploader to acces the DB and also to download or edit the data. Please have a look to NightscoutUploader.

Am 28.08.2017 22:04 schrieb "dhermanns" notifications@github.com:

Could you elaborate a bit more what your setup is?

I'm using rpi-Nightscout with the mmcommander uploader which supports the Rest-API to upload data.

So I have no need to directly access the mongo db directly (but that shouldn't be a big deal either)...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dhermanns/rpi-nightscout/issues/5#issuecomment-325464201, or mute the thread https://github.com/notifications/unsubscribe-auth/ABoE1vmXhCPl0qENn3at06USznsY7tgHks5scx1UgaJpZM4PExIF .

dhermanns commented 7 years ago

Do you have a link? There are a lot of uploaders out there for the different possible Nightscout setups.

jroth-haj commented 7 years ago

So sorry, I mean NightscoutLoader: https://github.com/gh-davidr/NightscoutLoader/blob/master/README.md

Am 28.08.2017 22:15 schrieb "dhermanns" notifications@github.com:

Do you have a link? There are a lot of uploaders out there for the different possible Nightscout setups.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dhermanns/rpi-nightscout/issues/5#issuecomment-325467313, or mute the thread https://github.com/notifications/unsubscribe-auth/ABoE1iKvYSESG-78CXGF6-mESHkSaH-oks5scx_FgaJpZM4PExIF .

dhermanns commented 7 years ago

I didn't use this tool but it looks great. As far as I can see the problem is that it would like to connect directly to the mongo db. So you have to open up the mongo db port in docker.

If I find some time next weekend I will try to setup nightscout loader in my environment.

dhermanns commented 6 years ago

I didn't find the time to test this on my own, by I added a part describing how to open the mongoldb ports. Have a look and let me know if this works for you now.