You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`UNIFI_CONTROLLER_URL`| Required | URL to your UniFi controller with protocol. |`https://unifi.example.com:8443`|
116
-
|`UNIFI_API_KEY`| Required | API Key for your UniFi controller. |`abc123...`|
117
-
|`UNIFI_SITE_ID`| Optional | Site ID of your UniFi controller. Using the value `default`, the backend will try to fetch the ID of the default site. |`default` (default) |
118
-
|`FRONTEND_BIND_HOST`| Optional | Address on which the frontend server binds. |`0.0.0.0` (default) |
119
-
|`FRONTEND_BIND_PORT`| Optional | Port on which the frontend server binds. |`3000` (default) |
120
-
|`FRONTEND_TO_BACKEND_URL`| Optional | URL where the frontend will make its API requests to the backend. |`http://127.0.0.1` (default) |
121
-
|`BACKEND_BIND_HOST`| Optional | Address on which the server binds. |`127.0.0.1` (default) |
122
-
|`BACKEND_BIND_PORT`| Optional | Port on which the backend server binds. |`8080` (default) |
123
-
|`BACKEND_LOG_LEVEL`| Optional | Log level of the Rust backend. |`info`(default) |
124
-
|`TIMEZONE`| Optional | Server [timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |`UTC` (default) |
114
+
Make sure to configure the required variables. The optional variables generally have default values that you should not have to change.
115
+
116
+
To configure the WiFi QR code, you are required to configure the `WIFI_SSID` and `WIFI_PASSWORD` variables.
117
+
118
+
| Variable | Type | Description | Example | Type |
|`UNIFI_CONTROLLER_URL`| Required | URL to your UniFi controller with protocol. |`https://unifi.example.com:8443`|`string`|
121
+
|`UNIFI_API_KEY`| Required | API Key for your UniFi controller. |`abc123...`|`string`|
122
+
|`UNIFI_SITE_ID`| Optional | Site ID of your UniFi controller. Using the value `default`, the backend will try to fetch the ID of the default site. |`default` (default) |`string`|
123
+
|`FRONTEND_BIND_HOST`| Optional | Address on which the frontend server binds. |`0.0.0.0` (default) |`IPv4`|
124
+
|`FRONTEND_BIND_PORT`| Optional | Port on which the frontend server binds. |`3000` (default) |`u16`|
125
+
|`FRONTEND_TO_BACKEND_URL`| Optional | URL where the frontend will make its API requests to the backend. |`http://127.0.0.1` (default) |`URL`|
126
+
|`BACKEND_BIND_HOST`| Optional | Address on which the server binds. |`127.0.0.1` (default) |`IPv4`|
127
+
|`BACKEND_BIND_PORT`| Optional | Port on which the backend server binds. |`8080` (default) |`u16`|
128
+
|`BACKEND_LOG_LEVEL`| Optional | Log level of the Rust backend. |`info`(default) |`trace\|debug\|info\|warn\|error`|
129
+
|`TIMEZONE`| Optional |[Timezone](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List) used to format dates and time. |`UTC` (default) |[`timezone`](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List)|
130
+
|`WIFI_SSID`| Optional | WiFi SSID used for the QR code. (required for QR code to be generated) |`My WiFi SSID`|`string`|
131
+
|`WIFI_PASSWORD`| Optional | WiFi password used for the QR code (required for QR code to be generated) |`My WiFi Password`|`string`|
132
+
|`WIFI_TYPE`| Optional | WiFi security type used. Defaults to `WPA` if a password is provided and `nopass` otherwise. |`WPA`|`WPA\|WEP\|nopass`|
133
+
|`WIFI_HIDDEN`| Optional | Whether the WiFi SSID is hidden or broadcasted. |`false` (default) |`bool`|
125
134
126
135
### Getting UniFi API Credentials
127
136
@@ -144,6 +153,9 @@ Perfect for businesses, cafes, hotels, and home networks that need to provide gu
144
153
- Check all environment variables are set
145
154
- Verify Docker container has network access to UniFi controller
0 commit comments