Deployment and Maintenance / Configuration Files
This article mainly introduces the configuration files of DataFlux Func and how to adjust them.
1. Configuration File Location
Please refer to Deployment and Maintenance / Configuration and Data Files / DataFlux Func Configuration
2. Configuration Items
Do not arbitrarily modify configuration items not listed below
DataFlux Func has a large number of configurable items.
Only some commonly used ones that users can directly modify are listed below.
Do not arbitrarily modify other configuration items not listed.
Restart required after modifying configuration
After modifying the configuration, the entire DataFlux Func needs to be restarted for the new configuration to take effect.
Do not start individual services separately to avoid conflicts between services due to different configurations.
| Configuration Item | Default Value | Version Requirement | Description |
|---|---|---|---|
SECRET |
Randomly generated during deployment | Private key. Used for login tokens, connector configuration encryption, etc. Note: Once configured, do not modify it, otherwise the system will not function properly. |
|
LOG_LEVEL |
"WARNING" |
Log level, options:"ALL": Output all"DEBUG": Output debug, info, warning, and error logs"INFO": Output info, warning, and error logs"WARNING": Output warning and error logs"ERROR": Output only error logs"NONE": No output |
|
LOG_FILE_PATH |
"data/logs/dataflux-func.log" |
Log file output path Must use an absolute path |
|
TIMEZONE |
"Asia/Shanghai" |
Timezone | |
LOG_FILE_FORMAT |
"text" |
Log output format, options:"text": Plain text format"json": JSON format |
|
LOG_CONSOLE_COLOR |
false |
Whether to colorize terminal logs | |
WEB_BIND |
"0.0.0.0" |
Web service binding IP, e.g.:"0.0.0.0": For public access"127.0.0.1": For local access only |
|
WEB_PORT |
8088 |
Web service binding port | |
MYSQL_HOST |
Automatically filled during deployment | MySQL host address | |
MYSQL_PORT |
3306 |
MySQL port | |
MYSQL_USER |
"root" |
MySQL user | |
MYSQL_PASSWORD |
Randomly generated during deployment | MySQL password | |
MYSQL_DATABASE |
"dataflux_func" |
MySQL database | |
REDIS_HOST |
Automatically filled during deployment | Redis host address | |
REDIS_PORT |
6379 |
Redis port | |
REDIS_DATABASE |
5 |
Redis database | |
REDIS_USER |
"" |
Redis user | |
REDIS_PASSWORD |
Randomly generated during deployment | Redis password | |
REDIS_USE_TLS |
false |
1.1.9 | Whether Redis TLS is enabled |
REDIS_AUTH_TYPE |
"default" |
2.8.1 | Redis authentication method, options:"default": Default (i.e., original Redis)"aliyun": Alibaba Cloud database authentication |
BAD_SIGNIN_TEMP_LOCK_ACTIVE_COUNT |
10 |
Number of failed sign-in attempts to trigger temporary user lockout |