docs/run-an-instance: update headings
This commit is contained in:
parent
6933daf046
commit
f33cf12fd3
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue