Tutum Service Link Push
This containerized docker app works with services running in the Tutum cloud. It is designed to be used with a stack to allow a stack to link itself into a centralized router.
This container assumes that you already have a
tutum/haproxy service running in another stack or as a stand along service in Tutum.
Given that you have an existing
tutum/haproxy service running, you will need to get the UUID for that service. Let's assume it is
fbcb2846-a0fb-48bf-89b7-212e601dfdf1. You could launch a new stack and target the web application to the haproxy router so that it starts routing traffic to this app automatically.
web: image: tutum/hello-world environment: - 'VIRTUAL_HOST=http://asdf.yourdoman.com,https://asdf.yourdoman.com' attach: image: ianneub/tutum-service-attach links: - web environment: - TARGET_UUID=fbcb2846-a0fb-48bf-89b7-212e601dfdf1 autodestroy: always roles: - global
This container requires the following variables:
||This is the UUID of the service that you want to add the link to. Normally this would be the UUID of the tutum/haproxy service.||
||This is required to get authentication information from the Tutum API. Normally this will be automatically set by Tutum when you give the service running this app the