I have a couple of services written in Node.js that I'm trying to get deployed to IBM Bluemix. Most of the services depend on a MySQL backend, and have hard coded credentials like below: 
I have created a Docker image for each service, and have got those successfully deployed to Bluemix, but none of the functionality works because the MySQL database isn't on 'localhost' anymore, but running in it's own container.
How do I handle this scenario and get my app functional in Bluemix?
I'm using Docker Compose locally but am not sure if that can be used in Bluemix? Or if it is part of the solution here?
My YML file looks somthing like this:
Any pointers would help, I'm completely new to Docker/Bluemix etc.
via Jbob

No comments:
Post a Comment