Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
RFE: Put SQLite DB into a directory, so it can be hosted on docker volume (so it survives an image upgrade) #409
Currently recreating a docker container containing an elastichq.db results in the loss of that file, and without an ugly workaround it's hard to relocate that file.
Source Code / Logs
The location of elastichq.db is hardcoded into ProdSettings:
Of course, maybe this might require SQL Alchemy migrations.
That'd require mounting and maintaining an external settings file.
I currently use this "one liner" to put the DB file into a directory. ("db" already exists, it's just empty for some reason.)