If you are having multiple instances of n8n point to the same shared database you will likely have a bad time.
For now what I would do is work on an export / import process for credentials and workflows that way you can run stand alone instances and maybe use git to manage versions.
To migrate the database this thread here: How to migrate from SQLite to PostgreSQL? - #5 by MutedJam has some great information on the process.