docs/api: add missing info about API_URL
to web (#385)
* docs/api: add missing 'API_URL' to web * fix spacing * Update run-an-instance.md * run-an-instance.md: add info about default API_URL for web --------- Co-authored-by: jj <log@riseup.net> Co-authored-by: wukko <me@wukko.me>
This commit is contained in:
parent
190c78b09a
commit
6d79e1f77b
1 changed files with 7 additions and 6 deletions
|
@ -63,9 +63,10 @@ sudo service nscd start
|
|||
\* the higher the nice value, the lower the priority. [read more here](https://en.wikipedia.org/wiki/Nice_(Unix)).
|
||||
|
||||
### variables for web
|
||||
| variable name | default | example | description |
|
||||
|:--------------- |:--------|:------------------------|:--------------------------------------------------------------------------------------|
|
||||
| `WEB_PORT` | `9001` | `9001` | changes port from which frontend server is accessible. |
|
||||
| `WEB_URL` | ➖ | `https://cobalt.tools/` | changes url from which frontend server is accessible. <br> ***REQUIRED TO RUN WEB***. |
|
||||
| `SHOW_SPONSORS` | `0` | `1` | toggles sponsor list in about popup. <br> `0`: disabled. `1`: enabled. |
|
||||
| `IS_BETA` | `0` | `1` | toggles beta tag next to cobalt logo. <br> `0`: disabled. `1`: enabled. |
|
||||
| variable name | default | example | description |
|
||||
|:--------------- |:---------------------|:------------------------|:--------------------------------------------------------------------------------------|
|
||||
| `WEB_PORT` | `9001` | `9001` | changes port from which frontend server is accessible. |
|
||||
| `WEB_URL` | ➖ | `https://cobalt.tools/` | changes url from which frontend server is accessible. <br> ***REQUIRED TO RUN WEB***. |
|
||||
| `API_URL` | `https://co.wuk.sh/` | `https://co.wuk.sh/` | changes url which is used for api requests by frontend clients. |
|
||||
| `SHOW_SPONSORS` | `0` | `1` | toggles sponsor list in about popup. <br> `0`: disabled. `1`: enabled. |
|
||||
| `IS_BETA` | `0` | `1` | toggles beta tag next to cobalt logo. <br> `0`: disabled. `1`: enabled. |
|
||||
|
|
Loading…
Reference in a new issue