Docker: how to specify file storage path different from database path

Ok, it seems that without changing the source code, this is impossible. Thankfully, changing the source code if you don’t mind hard-coding paths to the database files is not difficult.