From 4fc18c8a912af9a2901a44675a0a9eabd33019f8 Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Wed, 28 May 2025 15:40:05 +0700 Subject: [PATCH] Updated Configuration (markdown) --- Configuration.md | 45 ++++++++++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 17 deletions(-) diff --git a/Configuration.md b/Configuration.md index 67b9566..470445d 100644 --- a/Configuration.md +++ b/Configuration.md @@ -1,21 +1,32 @@ -## Environment variables +## Available environment variables -### XUI_LOG_LEVEL -* Description: none -* Type: `debug` | `info` | `warn` | `error` (**`string`**) -* Default value: `info` +### `XUI_LOG_LEVEL` +* **Description**: Default log level +* **Type**: `string` +* **Acceptable values**: `debug` | `info` | `warn` | `error` +* **Default value**: `info` -### XUI_LOG_LEVEL -* Description: none -* Type: `debug` | `info` | `warn` | `error` (**`string`**) -* Default value: `info` +### `XUI_DEBUG` +* **Description**: Whether debug mode should be enabled +* **Type**: `boolean` +* **Default value**: `false` -### XUI_LOG_LEVEL -* Description: none -* Type: `debug` | `info` | `warn` | `error` (**`string`**) -* Default value: `info` +### `XUI_BIN_FOLDER` +* **Description**: Path to the folder with xray-core, geosite & geoip databases +* **Type**: `string` +* **Default value**: `bin` -### XUI_LOG_LEVEL -* Description: none -* Type: `debug` | `info` | `warn` | `error` (**`string`**) -* Default value: `info` \ No newline at end of file +### `XUI_DB_FOLDER` +* **Description**: Path to the 3x-ui database +* **Type**: `string` +* **Default value**: `/etc/x-ui` + +### `XUI_LOG_FOLDER` +* **Description**: Path to the logs +* **Type**: `string` +* **Default value**: `/var/log` + +### `XUI_ENABLE_FAIL2BAN` +* **Description**: Should [fail2ban](https://github.com/fail2ban/fail2ban) be working +* **Type**: `boolean` +* **Default value**: `true` \ No newline at end of file