chirpstack / chirpstack-docker

Setup ChirpStack using Docker Compose
https://www.chirpstack.io/
MIT License
273 stars 316 forks source link

Add a reasonable default Redis persistence #100

Closed bconway closed 7 months ago

bconway commented 8 months ago

Despite the claim of the README.md, PostgreSQL and Redis data is persisted in Docker volumes, this is not actually the case. The volume is present, but Redis is not configured to use it.

This question comes up on the forum monthly, if not more frequently. Choose a reasonable default for people to build on.

plaes commented 8 months ago

Thanks, could you document the persistence strategy in README.md as well because RDB (point-in-time snapshots) is not ideal in case someone wants to minimize the chance of data loss.

bconway commented 8 months ago

Nah, it's a skeleton. And AOF has a lot more nuances to worry about.

Principle of least surprise is what's being covered here. People should consult the extensive Redis documentation on this topic for their production needs.