> For the complete documentation index, see [llms.txt](https://tradesync.gitbook.io/tradesync/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tradesync.gitbook.io/tradesync/rw-manager-mt4/environment-variables.md).

# Environment Variables

{% hint style="info" %}
Using PowerShell all variable values ​​must be specified in single 'quotes'.
{% endhint %}

| Key               | Value                                              | Description                                                                                                                                                                                                                  |
| ----------------- | -------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `LOG_FILE_NAME`   | `C:\rw-manager\rw-manager-mt4.log`                 | full path name for log file                                                                                                                                                                                                  |
| `LOG_METATRADER`  | `true`                                             | if the flag is true, all logs messages will be placed to a file created by MetaTrader4SDK dll files after successefull connection to MT4 server                                                                              |
| `MT4SDKLIB`       | `C:\rw-manager\MetaTrader4SDK\Libs\mtmanapi64.dll` | Path to metatrader sdk dll, in packets it placed to your rw-manager folder + MetaTrader4SDK\Libs                                                                                                                             |
| `MT4SERVER`       | `0.0.0.0:443`                                      | Address for authorization and communication with MT4                                                                                                                                                                         |
| `MT4PASS`         | `pass1111,pass2222,pass3333`                       | pass1111,pass2222,pass3333                                                                                                                                                                                                   |
| `MT4LOGIN`        | `1111,2222,3333`                                   | String of logins for authorization in MT4 (required) separarted by comma. It must correspond with `MT4PASS`: the first login corresponds to the first password, the second login corresponds to the second password and etc. |
| `LISTEN_ADDRESS`  | `127.0.0.1`                                        | Address to listen incoming requests                                                                                                                                                                                          |
| `LISTEN_PORT`     | `8080`                                             | Port to listen incoming requests                                                                                                                                                                                             |
| `HEALTH_ENDPOINT` | `healthz`                                          | Endpoint path to check available service in k8s                                                                                                                                                                              |
| `METRICS_PORT`    | `7777`                                             | Port for getting metrics for prometheus                                                                                                                                                                                      |
