From 099437f0889118a3a14bad00d392d7eeb6993b91 Mon Sep 17 00:00:00 2001 From: Ross McDonald Date: Mon, 23 Apr 2018 14:51:07 -0500 Subject: [PATCH] Correct prism variables (#219) * Correct prism variables * More fixes for prism docs --- articles/enterprise/components/prism.md | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/articles/enterprise/components/prism.md b/articles/enterprise/components/prism.md index 7ddfe1f..815ac61 100644 --- a/articles/enterprise/components/prism.md +++ b/articles/enterprise/components/prism.md @@ -89,20 +89,25 @@ connection details to the Stoplight App, API, and Exporter. ### Variables +#### SL_HOST + +The `SL_HOST` variable is the full URL to the Prism instance. + +``` +SL_HOST="http://%sprism.example.com" +``` + +Where Prism is being served from the domain `prism.example.com`. Specifying a +port is optional. + +> Note, the `%s` preceding the domain is **required**. + #### SL_API_HOST The `SL_API_HOST` variable is the full URL to the Stoplight API. ``` -SL_API_HOST="http://localhost:3030" -``` - -#### SL_HOST - -The `SL_HOST` variable is the full URL to the Stoplight App. - -``` -SL_HOST="http://localhost:3100" +SL_API_HOST="http://api.example.com:3030" ``` #### SL_EXPORTER_HOST @@ -110,7 +115,7 @@ SL_HOST="http://localhost:3100" The `SL_EXPORTER_HOST` variable is the URL to the Stoplight Exporter. ``` -SL_EXPORTER_HOST="http://localhost:3031" +SL_EXPORTER_HOST="http://exporter.example.com:3031" ``` #### ENV_NAME