Making lora app server and lora server data persistant using Docker

Hello,

Does the lora app server store the gateways, users and devices data in the postegreSQL data base?
Is it the same for the lora server?

Is it enough to add volume to the postegreSQL data base container to not loose previous stored data in case new container has been created?

Thanks!

There are two volumes that you might want to create:

  • PostgreSQL storage (persistent data like organizations, applications, nodes, gateways etc…)
  • Redis snapshots (session data like activated device states)

For the latter one, see also https://redis.io/topics/persistence for various options to persist Redis data.