Hi Community, I have a self-hosted Parse Server and would like to run multiple applications (instances) on the same server. Each application should have its own database, environment variables, and configurations while sharing the same Parse Server installation.
Could someone guide me on the following:
- The best way to configure the server for multiple apps?
- How to manage the database connections for separate apps?
- Any potential issues or best practices to ensure performance and isolation between the apps?
@deekshith
1- If you want to run multiple apps on the same server, you can run multiple parse-server instances using different methods, e.g., in a container.
2- You can set different databases in the parse instance setting.
3- You can provide isolation between the apps with containers…
If you want just one server and a different parse application, for ex. you can set different express route
App A-> /parse
App B → /parse2b
App C → /parse3c
localhost:1337/parse
localhost:1337/parse2b
localhost:1337/parse2c
you can use different route different parse instances in a server[a node instance].
@rgunindi
Thank you for your reply.
I’ll check these methods.
FYI, make sure you set the correct Application ID/Name on both client and server. Otherwise if you try to use the ParseA client and call ParseB server it won’t work.
1 Like
@sadortun
thank you for the update.
I just wanted to know.
Do I need to host a separate Parse instance for each application, or is it possible to host a single Parse instance and manage multiple applications with different database connections?
One parse instance can bind one database.
1 Like