Correct prism variables (#219)

* Correct prism variables

* More fixes for prism docs
This commit is contained in:
Ross McDonald
2018-04-23 14:51:07 -05:00
committed by Robert Wallach
parent 432a146bd7
commit 099437f088

View File

@@ -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