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

Allow for use of a shared Cloudant instance among multiple search services #60

Open
ptitzler opened this issue Jan 9, 2017 · 3 comments

Comments

@ptitzler
Copy link
Contributor

ptitzler commented Jan 9, 2017

We have several instances of the SSS deployed. Each application operates on its own Cloudant instance. It would be nice if all instances could use a dedicated repository database in a single instance to reduce the number of Bluemix resources.

@vabarbosa
Copy link
Member

@ptitzler you can bind multiple simple search service apps to a single Cloudant service.
alternatively, you can specify the Cloudant instance the app should use with the environment variable:

SSS_CLOUDANT_URL=<cloudant_host_url>

then for each app sharing the same Cloudant instance you set a unique database name for the app to use with the environment variable:

SSS_CLOUDANT_DATABASE=<db_name>

@ptitzler
Copy link
Contributor Author

Excellent! I'll try this out ...
Could somebody please update the README with this information?

@glynnbird
Copy link
Contributor

The readme already mentions SSS_CLOUDANT_URL in the section about running the app locally.

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

No branches or pull requests

3 participants