This version is a clone of a working version. I touched rancher-compose.yml line 58, changing it from “producer” to “tlo”. I also touched lines 4 and 5, giving it different versions and UUID values.
https://github.com/kurron/rancher-catalog/tree/master/templates/producer/99
I’ve attached the API results, in case that helps.
{
"id": "1e12",
"type": "environment",
"links": {
"self": "…/v1/projects/1a5/environments/1e12",
"account": "…/v1/projects/1a5/environments/1e12/account",
"services": "…/v1/projects/1a5/environments/1e12/services",
"composeConfig": "…/v1/projects/1a5/environments/1e12/composeconfig",
},
"actions": {
"upgrade": "…/v1/projects/1a5/environments/1e12/?action=upgrade",
"update": "…/v1/projects/1a5/environments/1e12/?action=update",
"remove": "…/v1/projects/1a5/environments/1e12/?action=remove",
"addoutputs": "…/v1/projects/1a5/environments/1e12/?action=addoutputs",
"activateservices": "…/v1/projects/1a5/environments/1e12/?action=activateservices",
"deactivateservices": "…/v1/projects/1a5/environments/1e12/?action=deactivateservices",
"exportconfig": "…/v1/projects/1a5/environments/1e12/?action=exportconfig",
},
"name": "producer",
"state": "active",
"accountId": "1a5",
"created": "2016-04-14T18:50:40Z",
"createdTS": 1460659840000,
"description": null,
"dockerCompose": null,
"environment": {
"PRODUCER_REALM": "rancher",
"PRODUCER_FAIL": "false",
"SPRING_CLOUD_CONFIG_URI": "http://configuration.balancer:2020/",
"SPRING_RABBITMQ_HOST": "rabbitmq",
"SPRING_DATASOURCE_URL": "jdbc:mysql://mysql:3306/tlo",
"SPRING_DATASOURCE_USERNAME": "mysql",
"SPRING_DATASOURCE_PASSWORD": "mysql",
},
"externalId": "catalog://TL:producer:99",
"healthState": "healthy",
"kind": "environment",
"outputs": null,
"previousEnvironment": null,
"previousExternalId": null,
"rancherCompose": null,
"removed": null,
"startOnCreate": true,
"transitioning": "no",
"transitioningMessage": null,
"transitioningProgress": null,
"uuid": "14a3ec34-6342-46ca-9588-17ff78d56bdf",
}