featurer/docs/HTTP.md
Stanislav N. aka pztrn bbb9824ad1
All checks were successful
Linting and tests / Tests (push) Successful in 53s
Linting and tests / Linting (push) Successful in 1m7s
Add doc for HTTP servers configuration.
2024-10-12 23:22:22 +05:00

17 lines
456 B
Markdown

# 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. |