From 15f3daf9f59ef6bfcbdbdcdb6502e4b80f66708f Mon Sep 17 00:00:00 2001 From: Josh Cox Date: Fri, 28 Jul 2017 11:49:45 -0500 Subject: [PATCH] Scale selection --- templates/rabbitmq-3/2/rancher-compose.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/rabbitmq-3/2/rancher-compose.yml b/templates/rabbitmq-3/2/rancher-compose.yml index 1e9871e..1f809da 100755 --- a/templates/rabbitmq-3/2/rancher-compose.yml +++ b/templates/rabbitmq-3/2/rancher-compose.yml @@ -66,9 +66,16 @@ catalog: required: true default: "private=true" type: "string" + - variable: "initial_data_nodes" + type: "int" + required: true + label: "# of initial data nodes" + description: "Set the initial number of data nodes" + default: 1 services: rabbitmq: + scale: ${initial_data_nodes} metadata: rabbitmq: config: