me-box / databox

Databox container manager and dashboard server
MIT License
94 stars 25 forks source link

Store contents do not persist across restarts of docker/host #188

Closed cgreenhalgh closed 7 years ago

cgreenhalgh commented 7 years ago

Although the store-json appears to create and use a volume database/ this doesn't appear to be maintained across instances of the store service that are created if docker (or the host) are restarted. So after each reboot all stores are empty.

Toshbrown commented 7 years ago

I think this is because the container manager mounts the volumes for data in /tmp

This should be an easy fix. I will take a look.

Toshbrown commented 7 years ago

Not quite so simple thanks to docker for mac :-( but think I have a cross-platform solution just testing now

Toshbrown commented 7 years ago

@cgreenhalgh if you run in dev mode you will get the new changes and data should persist reboots and restarts

the main cm will be updated in the next release