Open jfernandz opened 4 years ago
Sorry, I've not noticed the IOTA_REGISTRY_TYPE=mongodb
in the Docker readme
I think you should Include this info in the official docs because I'd say I've not seen that info over there.
I'm keeping this issue open until this be added to the readthedocs page (if you want, of course :blush:)
Cheers!
Well, I've been researching a little and after a few tests, I've noticed IoTagent-LoRaWAN does not store the created devices after a restart; I in fact have not associated any volume to the docker container but I didn't see in docs any clue about this can be done. I guess IoTagent is using some kind of embebed database as sqlite.
I think it would be fine if the Agent also connect and store this kind of info into MongoDB because is particularly bothering that when I restart my docker containers the entities and subscriptions persist in MongoDB but don't persist the devices. This is a problem because it cuts the context data flow every restart and I have to create again the device with the credentials.
What do you think? Thank you anyway :blush: