docs: update environment document

This commit is contained in:
moonrailgun 2024-05-24 01:08:00 +08:00
parent bffb9d6729
commit 52a89276c8

View File

@ -8,6 +8,12 @@ Here is enviroment which you can config in docker
| Name | Default Value | Description |
| ---- | ---- | ----- |
| JWT_SECRET | - | A random string used to calculate the secret key |
| ALLOW_REGISTER | false | whether allow user can register account |
| ALLOW_OPENAPI | false | whether allow openapi which can fetch or post data just like you with ui |
| SANDBOX_MEMORY_LIMIT | 16 | custom script monitor sandbox memory limit, which can control which monitor script not use too many memory (unit MB, the minimum value is 8) |
| MAPBOX_TOKEN | - | MapBox token for use amap to replace default visitor map |
| AMAP_TOKEN | - | AMap token for use amap to replace default visitor map |
| CUSTOM_TRACKER_SCRIPT_NAME | - | modify default `tracker.js` script name for adblock |
| DISABLE_ANONYMOUS_TELEMETRY | false | Disabled send telemetry report to tianji official, we will report usage to tianji official website with a minimum of anonymity. |
| DISABLE_AUTO_CLEAR | false | disable auto clear data. |