SoftInstigate / restheart

Rapid API Development with MongoDB
https://restheart.org
GNU Affero General Public License v3.0
805 stars 171 forks source link

How to start two or more Restheart instances for different dbs in one machine ? #354

Closed StevenJSun closed 5 years ago

StevenJSun commented 5 years ago

We want to start two or more restheart instances for different mongodb databases in one machine node, so how to config restheart?

Expected Behavior

Current Behavior

Context

Environment

Steps to Reproduce

1. 2. 3.

Possible Implementation

mkjsix commented 5 years ago

You just need to crete as many configuration property files as you need and assign a different http-port number to each one. Start each RH instance by pointing to its own configuration.

https://restheart.org/docs/configuration/

StevenJSun commented 5 years ago

@mkjsix thanks, the solution works now.