Add doc for HTTP servers configuration.
All checks were successful
Linting and tests / Tests (push) Successful in 53s
Linting and tests / Linting (push) Successful in 1m7s

This commit is contained in:
Stanislav Nikitin 2024-10-12 23:22:22 +05:00
parent c49251db31
commit bbb9824ad1
Signed by: pztrn
GPG Key ID: 1E944A0F0568B550
2 changed files with 17 additions and 1 deletions

16
docs/HTTP.md Normal file
View File

@ -0,0 +1,16 @@
# HTTP in Featurer
Featurer starts 2 HTTP servers:
- API server.
- CMS server.
**As for now only API server will be used.**
## Configuring HTTP servers
Configuration for HTTP servers should be specified in environment variables. All HTTP servers uses same variables, replace `%s` with server name (`API` or `CMS`).
| Key | Format | Description |
| --- | --- | --- |
| FEATURER_%s_SERVER_ADDRESS | `ip:port` | IP and port to listen on for requests. |

View File

@ -4,7 +4,7 @@ Welcome to Featurer's documentation!
## Administrator's corner ## Administrator's corner
TBW - [Configuring HTTP servers](HTTP.md)
## Users documentation ## Users documentation