-
Notifications
You must be signed in to change notification settings - Fork 4
Create a CSync Instance on Bluemix
1.First you need to upload the CSync image to your bluemix registry. Follow the instructions here to copy ibmcom/csync from dockerhub. If you already have the Cloud Foundry CLI, you can use the cf ic plugin and run the following command:
cf ic cpi ibmcom/csync registry.ng.bluemix.net/{your_namespace}/{test_image_name}:{tag_name}
2.Once you have the CSync image in your bluemix registry, sign in to your Bluemix Console
3.In the dashboard, click the Create Containers button as shown in the screenshot below:

3.Select the CSync image you uploaded.

4.Give your new container a name and choose the size you need. Select Request and Bind Public IP from the Public IP dropdown. For your public port, use 6005/tcp.

4.1.To add environment variables to the container, click Advanced Options

4.2.Click Add a new environment variable

5.Click Create. Bluemix will start building your container.
6.Once the container is running, check the Container Details. If the Public IP says None, click the arrow and choose the IP address to use or choose Request and Bind Public IP.

7.Use this IP address as Host and 6005 as your Port when connecting to CSync in your application.