sorry to piggy back.
but I tried something similar
I want two wordpress blogs on ports 8080 and 8081
I have them eventually working by decompressing the software to two their respective directories.
then each have their own config.php in each config folder.
which specify to use differnt databases.
I tried other things like
* symlinks and trying to put config.php in parent directory
I can see mount-binds doing the job but don’t want to use that.
Is there a way a single untargz of the wordpress software can be served by a webserver using two differnt config.php on two different url/paths