flask.json Configuration
The flask.json files within a configuration directory specifies the authentication information, default port and number of available threads for a configuration.
{
"authentication": {
"enabled": false,
"username": "username",
"password": "password"
},
"run": {
"port": 8000
},
"waitress": {
"threads": 8
}
}
There is also a .json file that specifies authentication, port and number of available threads
for the Admin Server. It also specifies a refresh which determines how often the admin server checks the status of NLIs
and jobs.
{
"authentication": {
"enabled": true,
"username": "admin",
"password": "fast-walker-dippy-01"
},
"refresh_rate": 5.0,
"run": {
"port": 9999
},
"waitress": {
"threads": 24
}
}