mean-on-openshift
mean-on-openshift copied to clipboard
add rockMongo cartridge not working
after deploy to the openshift. I tried to add the rockMongo cartridge to view the data in mongoDB. But I can't open the connection url since the MEAN stack routing defined the rules to prevent to show the connection console. Anyway to make this one work?
you can try to SSH to your openshift gear and get the connection info from the command line, from the environment variables env | grep MONGODB
or with RHC rhc env list -a App_Name
OPENSHIFT_MONGODB_DB_PASSWORD, OPENSHIFT_MONGODB_DB_USERNAME, OPENSHIFT_MONGODB_DB_HOST, OPENSHIFT_MONGODB_DB_PORT
@shai-weinstein Thanks for your reply, Shai. My issue is having difficulty in using the web browser to view the mongodb data. Rockmongo is a client viewer can let you directly review your json data from a web page (like phpmyadmin for mysql) and it's part of the openshift's free cartridge service. usually once you add this cartridge to your openshift application, you can open it by using this link: https://your-application-domain.com/rockmongo. But after installing our MEAN stack, this link is not working anymore. I believed that the MEAN stack routing code changed the default behavior of the above link. Just to check if we can change it back or add some filter to make sure the rockmongo client can still be accessible.
I checked on my openshift gear, added rockmongo and it worked the rockmongo is accessible at https:/domain/rockmongo maybe try to add the rockmongo cartridge only after deploying MEAN
steps i did:
- create app from quickstart https://openshift.redhat.com/app/console/application_type/quickstart!18122 (specifying master branch) note that i did not use NODE_ENV=production, keeping the default NODE_ENV=development
- add rockmongo cartridge
- restart gear
what is rockmongo? Lior
On Tue, Dec 9, 2014 at 11:29 AM, Shai Weinstein [email protected] wrote:
I checked on my openshift gear, added rockmongo and it worked the rockmongo is accessible at https:/domain/rockmongo maybe try to add the rockmongo cartridge only after deploying MEAN
steps i did:
- create app from quickstart https://openshift.redhat.com/app/console/application_type/quickstart!18122 (specifying master branch) node that i did not use NODE_ENV=production, keeping the default NODE_ENV=development
- add rockmongo cartridge
- restart gear
— Reply to this email directly or view it on GitHub https://github.com/linnovate/mean-on-openshift/issues/3#issuecomment-66255499 .
Lior Kesos - http://www.linnovate.net Linnovate - Community Infrastructure Care mail: [email protected] office: +972 722500881 cell: +972 524305252 skype: liorkesos
I'm using the rockmongo cartridge on openshift with the mean cartridge, works for me too...