diff --git a/spring-cloud-cli.html b/spring-cloud-cli.html index 9d270b7..8129e93 100644 --- a/spring-cloud-cli.html +++ b/spring-cloud-cli.html @@ -596,6 +596,40 @@ do something like this to locate a local git repository for the backend:

uri: file://${user.home}/dev/demo/config-repo +
+

Adding Additional Applications

+
+

Additional applications can be added to ./config/cloud.yml (not +./config.yml because that would replace the defaults), e.g. with

+
+
+
config/cloud.yml
+
+
spring:
+  cloud:
+    launcher:
+      deployables:
+        source:
+          coordinates: maven://com.example:source:0.0.1-SNAPSHOT
+          port: 7000
+        sink:
+          coordinates: maven://com.example:sink:0.0.1-SNAPSHOT
+          port: 7001
+
+
+
+

when you list the apps:

+
+
+
+
$ spring cloud --list
+source sink configserver dataflow eureka h2 hystrixdashboard kafka zipkin
+
+
+
+

(notice the additional apps at the start of the list).

+
+