Skip to content

Deployment and Maintenance / Configuration File

This article mainly introduces the configuration file of DataFlux Func and the way to adjust it.

1. Configuration File Location

Please refer to Deployment and Maintenance / Configuration and Data Files / DataFlux Func Configuration

2. Configuration Items

Do not modify configuration items not listed below

DataFlux Func has a great many configurable items

The following only lists some commonly used configuration items that users can directly modify

Do not modify other unlisted configuration items

Restart is required after modifying configuration

After modifying the configuration, you need to restart the entire DataFlux Func for the new configuration to take effect

Do not start some services separately to avoid conflicts caused by different configurations between services

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 run normally
LOG_LEVEL "WARNING" Log level, optional:
 "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": Do not 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, optional:
 "text": Plain text format
 "json": JSON format
LOG_CONSOLE_COLOR false Whether to colorize terminal logs
WEB_BIND "0.0.0.0" Web service bind IP, e.g.:
 "0.0.0.0": for public access
 "127.0.0.1": for local-only access
WEB_PORT 8088 Web service bind port
MYSQL_HOST Automatically filled in 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 in 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 to enable TLS for Redis
REDIS_AUTH_TYPE "default" 2.8.1 Redis authentication method, optional:
 "default": Default (i.e., original Redis)
 "aliyun": Alibaba Cloud database authentication
BAD_SIGNIN_TEMP_LOCK_ACTIVE_COUNT 10 Number of times temporary user lock is activated due to login failures