Closed weedy closed 10 years ago
hi @weedy, it looks like the uptime project uses https://github.com/lorenwest/node-config to pull in the yaml configuration. If you want to use a differently named file than default.yaml, you can specify an environment variable on OpenShift like this:
rhc set-env NODE_ENV=production -a myapp
This should make the node-config module look for production.yaml for that instance of your openshift app. Let me know if this method to use a production.yaml works.
Otherwise, I would just edit the default.yaml
I stuck a production.yaml beside every default.yaml I could find in my instance and nothing worked. Editing default.yaml works as expected.