docs/run-an-instance: update headings

This commit is contained in:
wukko 2024-10-20 18:56:37 +06:00
parent 6933daf046
commit f33cf12fd3
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -54,8 +54,7 @@ sudo apt install nscd
sudo service nscd start sudo service nscd start
``` ```
## list of all environment variables ## list of environment variables for api
### variables for api
| variable name | default | example | description | | variable name | default | example | description |
|:----------------------|:----------|:------------------------|:------------| |:----------------------|:----------|:------------------------|:------------|
| `API_PORT` | `9000` | `9000` | changes port from which api server is accessible. | | `API_PORT` | `9000` | `9000` | changes port from which api server is accessible. |
@ -89,7 +88,7 @@ requests it makes for that particular download. to use freebind in cobalt, you n
in a docker container, you also need to set the `API_LISTEN_ADDRESS` env to `127.0.0.1`, and set in a docker container, you also need to set the `API_LISTEN_ADDRESS` env to `127.0.0.1`, and set
`network_mode` for the container to `host`. `network_mode` for the container to `host`.
#### api key file format ## api key file format
the file is a JSON-serialized object with the following structure: the file is a JSON-serialized object with the following structure:
```typescript ```typescript