mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-06 00:10:02 +00:00
docs/run-an-instance: add info about plausible env variable
This commit is contained in:
parent
3c18b76d3c
commit
96ff8a873f
1 changed files with 10 additions and 7 deletions
|
@ -64,9 +64,12 @@ sudo service nscd start
|
|||
|
||||
### 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***. |
|
||||
| `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. |
|
||||
| `PLAUSIBLE_HOSTNAME` | ➖ | `plausible.io`* | enables plausible analytics with provided hostname as receiver backend. |
|
||||
|
||||
\* don't use plausible.io as receiver backend unless you paid for their cloud service. use your own domain when hosting community edition of plausible. refer to their [docs](https://plausible.io/docs) when needed.
|
Loading…
Reference in a new issue