You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ju...@apache.org on 2019/10/16 20:03:56 UTC

[fineract-cn-template] 43/45: FINCN-183 add instance homepageurl, fix port, add comments

This is an automated email from the ASF dual-hosted git repository.

juhan pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract-cn-template.git

commit a55923014afda667c5b7192e3153babff6cb88ae
Author: Juhan Aasaru <Ju...@nortal.com>
AuthorDate: Wed Oct 16 22:58:22 2019 +0300

    FINCN-183 add instance homepageurl, fix port, add comments
---
 service/src/main/resources/application.yml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/service/src/main/resources/application.yml b/service/src/main/resources/application.yml
index 2ae6bd0..14472da 100644
--- a/service/src/main/resources/application.yml
+++ b/service/src/main/resources/application.yml
@@ -28,10 +28,12 @@ eureka:
   client:
     serviceUrl:
       defaultZone: http://localhost:8761/eureka/
+  instance:
+    homePageUrl: "http://${eureka.hostname}:2099/template/v1/" # update port, replace 'template'
 
 server:
-  port: 8081
-  contextPath: /template/v1/*
+  port: 2099 # update to correct 20XX port - see demo-server for next free port
+  contextPath: /template/v1/* #replace 'template' with app name
 
 cassandra:
   clusterName: staging_cluster