diff --git a/labs/shipped-multi-tier/3.md b/labs/shipped-multi-tier/3.md index 0758a6f..6038a7a 100644 --- a/labs/shipped-multi-tier/3.md +++ b/labs/shipped-multi-tier/3.md @@ -19,7 +19,7 @@ You are now ready to deploy *Postgres*, *vote-api*, and *vote-ui* services. The 1. Select **Postgres** and the environment (Test), click **Deploy Build**. -1. Copy the environment variables of Postgress, which you need to set for vote-api and vote-ui. +1. As we need connection string to connect our API to Postgres DB, So we need to copy the environment variable name "HOST_POSTGRES" (naming convention "HOST_"$servicename) of Postgress, which you need to set for vote-api and vote-ui. 2. Click **Settings**. 3. Scroll down to the **Deployment Configurations** section. @@ -53,25 +53,10 @@ You are now ready to deploy *Postgres*, *vote-api*, and *vote-ui* services. The Value -SEED_PORT -4001 - - -HOST_VOTE_API -http://test--multitierapp--vote-api--254b61.gce.shipped-cisco.com - - -HOST_VOTE_UI -http://test--multitierapp--vote-ui--247fa6.gce.shipped-cisco.com - - -SEED_HOST -test--multitierapp--postgres--d1329f-0.service.consul - - -HOST_POSTGRES -http://test--multitierapp--postgres--d1329f.gce.shipped-cisco.com +CONNECTION_STRING +postgres:postgres@shipped-tx3-worker-004:4005/postgresDB + 1. Click **Save**. diff --git a/labs/shipped-multi-tier/assets/postgres-settings.png b/labs/shipped-multi-tier/assets/postgres-settings.png index 8aed542..a1c95f3 100644 Binary files a/labs/shipped-multi-tier/assets/postgres-settings.png and b/labs/shipped-multi-tier/assets/postgres-settings.png differ diff --git a/labs/shipped-multi-tier/assets/vote-api-cfg.png b/labs/shipped-multi-tier/assets/vote-api-cfg.png index 99f982d..1f66a5a 100644 Binary files a/labs/shipped-multi-tier/assets/vote-api-cfg.png and b/labs/shipped-multi-tier/assets/vote-api-cfg.png differ