Create on boarding docker
[sdc.git] / catalog-fe / sdc-frontend / chef-repo / cookbooks / sdc-catalog-fe / templates / default / FE-configuration.yaml.erb
index 1a245d2..b436870 100644 (file)
@@ -32,15 +32,23 @@ healthCheckSocketTimeoutInMs: 5000
 healthCheckIntervalInSeconds: 5
 
 onboarding:
-    host: <%= @fe_host_ip %>
+    hostFe: <%= @fe_host_ip %>
     <% if node[:disableHttp] -%>
-    protocol: https
-    port: <%= node['FE'][:https_port] %> 
+    protocolFe: https
+    portFe: <%= node['FE'][:https_port] %>
     <% else %>
-    protocol: http
-    port: <%= node['FE'][:http_port] %> 
+    protocolFe: http
+    portFe: <%= node['FE'][:http_port] %>
+    <% end -%>
+    healthCheckUriFe: "/onboarding/v1.0/healthcheck"
+    hostBe: <%= node['ONBOARDING_BE_VIP'] %>
+    <% if node[:disableHttp] -%>
+    protocolBe: https
+    portBe: <%= node['ONBOARDING_BE'][:https_port] %>
+    <% else %>
+    protocolBe: http
+    portBe: <%= node['ONBOARDING_BE'][:http_port] %>
     <% end -%>
-    healthCheckUri: "/onboarding/v1.0/healthcheck"
 
 dcae:
     host: <%= @fe_host_ip %>
@@ -53,12 +61,6 @@ dcae:
     <% end -%>
     healthCheckUri: "/dcae/healthCheck"
 
-dcae:
-    protocol: http
-    host: localhost
-    port: 8181
-    healthCheckUri: "/dcae/healthCheck"
-
 identificationHeaderFields: 
    -
         - &HTTP_IV_USER HTTP_IV_USER