Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can the parse server provide services for many apps? #1722

Closed
GongChen1107 opened this issue May 8, 2016 · 4 comments
Closed

Can the parse server provide services for many apps? #1722

GongChen1107 opened this issue May 8, 2016 · 4 comments

Comments

@GongChen1107
Copy link

I have many apps and I am going to migrate they to self host parse-server .I wonder if I can provide services to several apps by setting up a single machine.I find it seems that cloud code can only for one app.Does the parser server design for supporting only one app.How can I complete the migration of my 100 apps.

@GongChen1107 GongChen1107 changed the title Does the parse server can provide services for many apps? Can the parse server provide services for many apps? May 8, 2016
@bohemima
Copy link
Contributor

bohemima commented May 8, 2016

Currently you will have to run one parse-server per app, they can theoretically all run on the same machine. I would simply let them be terminated by a single nginx and route to different backends based on path or header.

@GongChen1107
Copy link
Author

Yes ,I am using this way to provide different backends of apps.Does the Cloud Code works too ?I find that Cloud Code serverUrl is route to the only one path.Cloud Code function can't map to the correct parse-server.Should I need to set sereverUrl in the main.js.

@GongChen1107
Copy link
Author

@bohemima I have a question that we have some apps need different route of cloud code.But I find that if requrie an parse the serverUrl is freeze to the first init one.

@GongChen1107 GongChen1107 reopened this May 10, 2016
@hramos
Copy link
Contributor

hramos commented May 10, 2016

Duplicate of #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants