3 ms·
Lunni looks neat. Is persistence baked in with the docker stuff you deploy on and/or how is persistence handled/achieved?
by indigodaddy 2y ago
Lunni looks neat. Is persistence baked in with the docker stuff you deploy on and/or how is persistence handled/achieved?
- notpushkin 2y agoThank you! We use the standard Docker volumes [1] for persisting data. It’s pretty straightforward – you just define a volume and specify where to mount it: volumes: app-data: {} services: app: image: example.com/app/backend:latest volumes: - app-data:/data This should work pretty well for most use cases. (There are some caveats if you decide to run multiple Lunni servers in a cluster – basically, every node would get its own volume by default – which is the main reason we don’t officially support that yet :-) [1]: https://docs.docker.com/engine/storage/volumes/ https://docs.docker.com/engine/storage/volumes/