This page outlines the configurations supported by Jifa Server.
The default value of each configuration is provided by Configuration.java or the default configuration file application.yml.
Configure by adding application arguments --jifa.<key>=<value>
or specifying a configuration file.
The running role. Refer to deployment for more information.
Type: Enum
STANDALONE_WORKER
MASTER
ELASTIC_WORKER
STATIC_WORKER
Default: STANDALONE_WORKER
The service port.
Type: int
Default: 8102
The storage path.
Type: Path
Default: ${user.home}/jifa-storage
Database address, required if the role is not STANDALONE_WORKER
. Currently only MySQL is supported.
Type:String
Default:Read from the environment variable MYSQL_HOST
, and empty string is used if it's not set.
Database name, required if the role is not STANDALONE_WORKER
.
Type:String
Default:Read from the environment variable MYSQL_DATABASE
, and jifa
is used if it's not set.
Database username, required if the role is not STANDALONE_WORKER
.
Type:String
Default:Read from the environment variable MYSQL_USER
, and jifa
is used if it's not set.
Database password, required if the role is not STANDALONE_WORKER
.
Type:String
Default:Read from the environment variable MYSQL_PASSWORD
, and jifa
is used if it's not set.
The name of PersistentVolumeClaim used in the cluster.
Type: String
Default: null
The name of ServiceAccount used in the cluster.
Type: String
Default: null
The name of image pull secret
Type: String
Default: null
Docker image used in the cluster to run ELASTIC_WORKER
nodes.
Type: String
Default: null
JVM options used by ELASTIC_WORKER
nodes in the cluster
Type:String
Default:null
The service port of ELASTIC_WORKER
nodes in the cluster.
Type: int
Default: 8102
The idle threshold of ELASTIC_WORKER
nodes in the cluster, in minutes, with a minimum value of 2. When
a ELASTIC_WORKER
node is idle for more than this threshold, it will automatically stop.
Type: int
Default: 5
Whether to allow login.
When it is false, allow-anonymous-access will be set to true and allow-registration will be set to false automatically.
Type: boolean
Default: false
Whether to allow anonymous user access.
Type: boolean
Default: true
Whether to allow the registration of new users.
Type: boolean
Default: false
The username of the administrator account.
Type: String
Default: admin
If set to blank or if there are already registered users, administrator account registration will not be performed.
The password of the administrator account.
Type: String
Default: password
Local files to be analyzed, used only in STANDALONE_WORKER
role.
Type: Path[]
Default: null