featurer/docs/HTTP.md

17 lines
456 B
Markdown
Raw Permalink Normal View History

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