machinebox / issues

Machine Box issues, bugs and feature requests
2 stars 0 forks source link

suggestionbox: #46

Closed wschroederga closed 5 years ago

wschroederga commented 5 years ago

suggestionbox v0 (9d3d9db)

When I stop the docker all the Models are erased, I will like to persist this information.

I try to use a Volume but it didn't work. I also try to bind with a host folder with -v but I have an issue with the folder creation

dahernan commented 5 years ago

The docs in the console have the info how to persist the state in handle state section, please have a look and let us know if that is what you were looking for

wschroederga commented 5 years ago

So in order to keep the state I should download it with: GET http://server:8080/suggestionbox/state/{model_id}

I will have to do in each transaction to keep a real time backup so I can restore if the docker restarts