Configuration parameters of services
Configurator configuration
The section describes the Configurator service parameters.
The Configurator service itself is configured using the configuration file './example-docker/luna_configurator/configs/'.
LUNA_CONFIGURATOR_DB
| Parameter name |
Default value |
Description |
| DB_TYPE |
postgres |
[string] Database type: postgreSQL (postgres) or Oracle (oracle). The default value is postgres. |
| DB_HOST |
127.0.0.1 |
[string] IP address of database. |
| DB_PORT |
5432 |
[integer] Database listener port, 5432 - default for PostgreSQL, 1521 - default for Oracle. |
| DB_USER |
luna |
[string] Database login. |
| DB_PASSWORD |
luna |
[string] Database password. |
| DB_NAME |
luna_configurator |
[string] Name of database for PostgreSQL, SID name for Oracle. |
LUNA_CONFIGURATOR_LOGGER
| Parameter name |
Default value |
Description |
| LOG_LEVEL |
INFO |
[string] Level of debug print, by priority: ERROR, WARNING, INFO, DEBUG. |
| FOLDER_WITH_LOGS |
./ |
[string] Directory, where logs are saved (relative path, starts from the directory with the application). |
| LOG_TIME |
LOCAL |
[string] Time format used in log records: LOCAL or UTC. |
INFLUX_MONITORING
| Parameter name |
Default value |
Description |
| SEND_DATA_FOR_MONITORING |
0 |
[integer] Send data for monitoring to InfluxDB. |
| USER_NAME |
"" |
[string] InfluxDB login. |
| PASSWORD |
"" |
[string] InfluxDB password. |
| DATABASE_NAME |
luna_monitoring |
[string] InfluxDB database name. |
| HOST |
127.0.0.1 |
[string] IP address of InfluxDB. |
| PORT |
8086 |
[integer] Port of InfluxDB. |
| USE_SSL |
0 |
[integer] Whether HTTPS should be used for connection to InfluxDB. |
| FLUSHING_PERIOD |
1 |
[integer] Frequency of sending monitoring data to InfluxDB (in seconds). |
OTHER
API configuration
The section describes the API service parameters.
You can configure the service using the Configurator service.
LUNA_CONFIGURATOR
| Parameter name |
Default value |
Description |
| use_configurator |
0 |
[integer] Whether to load configs from Configurator. |
| luna_configurator_origin |
http://127.0.0.1:5070 |
[string] LUNA Configurator protocol, ip-address, and port. |
| luna_configurator_api |
1 |
[integer] LUNA Configurator API version. |
INFLUX_MONITORING
| Parameter name |
Default value |
Description |
| send_data_for_monitoring |
0 |
[integer] Send data for monitoring to InfluxDB. |
| user_name |
|
[string] InfluxDB login. |
| password |
|
[string] InfluxDB password. |
| database_name |
luna_monitoring |
[string] InfluxDB database name. |
| host |
127.0.0.1 |
[string] Ip-Address of InfluxDB. |
| port |
8086 |
[integer] Port of InfluxDB. |
| use_ssl |
0 |
[integer] Whether HTTPS should be used for connection to InfluxDB. |
| flushing_period |
1 |
[integer] Frequency of sending monitoring data to InfluxDB (in seconds). |
LUNA_API_LOGGER
| Parameter name |
Default value |
Description |
| folder_with_logs |
./ |
[string] Folder, where logs are saved (relative path - begins in directory with application). |
| log_level |
info |
[string] Level of debug print, by priority: ERROR, WARNING, INFO, DEBUG. |
| log_time |
local |
[string] Time format used in log records: LOCAL or UTC. |
| max_log_file_size |
1024 |
[integer] Maximum log file size in megabytes before performing rotation (0 - without rotation). |
| log_to_stdout |
1 |
Send log to stdout. |
| log_to_file |
1 |
Send log to file. |
| multiline_stack_trace |
1 |
Allow a multiline line stack trace message. |
LUNA_FACES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5030 |
[string] LUNA Faces protocol, ip-address, and port. |
| api_version |
3 |
[integer] LUNA Faces API version. |
LUNA_FACES_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
[integer] HTTP connection timeout. |
| request |
60 |
[integer] HTTP request timeout (total). |
LUNA_IMAGE_STORE_FACES_SAMPLES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5020 |
[string] LUNA Image Store protocol, ip-address, and port. |
| api_version |
1 |
[integer] LUNA Image Store samples API version. |
| bucket |
visionlabs-samples |
[string] Bucket name, where samples will be stored. |
LUNA_IMAGE_STORE_FACES_SAMPLES_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
[integer] HTTP connection timeout. |
| request |
60 |
[integer] HTTP request timeout (total). |
LUNA_IMAGE_STORE_BODIES_SAMPLES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5020 |
[string] LUNA Image Store protocol, ip-address, and port. |
| api_version |
1 |
[integer] LUNA Image Store samples API version. |
| bucket |
visionlabs-bodies-samples |
[string] Bucket name, where samples will be stored. |
LUNA_IMAGE_STORE_BODIES_SAMPLES_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
[integer] HTTP connection timeout. |
| request |
60 |
[integer] HTTP request timeout (total). |
LUNA_IMAGE_STORE_IMAGES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5020 |
LUNA Image-Store samples origin. |
| api_version |
1 |
LUNA Image-Store samples api version. |
| bucket |
visionlabs-image-origin |
Bucket name, where samples will be stored. |
LUNA_IMAGE_STORE_IMAGES_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
[integer] HTTP connection timeout. |
| request |
60 |
[integer] HTTP request timeout (total). |
ADDITIONAL_SERVICES_USAGE
| Parameter name |
Default value |
Description |
| luna_events |
1 |
[integer] Whether to send events to LUNA Events for storing. |
| luna_tasks |
1 |
[integer] Whether to use LUNA Tasks. |
| luna_matcher_proxy |
1 |
[integer] Whether to use LUNA Python Matcher Proxy instead of LUNA Python Matcher. |
| liveness |
0 |
Whether to use liveness. |
LUNA_EVENTS_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5040 |
[string] LUNA Events protocol, ip-address, and port. |
| api_version |
2 |
[integer] LUNA Events API version. |
LUNA_EVENTS_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
[integer] HTTP connection timeout. |
| request |
60 |
[integer] HTTP request timeout (total). |
LUNA_HANDLERS_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5090 |
[string] LUNA Handlers protocol, ip-address, and port. |
| api_version |
1 |
[integer] LUNA Handlers API version. |
LUNA_HANDLERS_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
[integer] HTTP connection timeout. |
| request |
60 |
[integer] HTTP request timeout (total). |
LUNA_PYTHON_MATCHER_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5100 |
LUNA Python Matcher origin. |
| api_version |
1 |
LUNA Python Matcher api version. |
LUNA_PYTHON_MATCHER_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LIVENESS_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5060 |
Liveness service. |
LUNA_MATCHER_PROXY_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5110 |
LUNA Python Matcher Proxy origin. |
| api_version |
1 |
LUNA Python Matcher Proxy api version. |
LUNA_PYTHON_MATCHER_PROXY_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LUNA_TASKS_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5050 |
[string] LUNA Tasks protocol, ip-address, and port. |
| api_version |
2 |
[integer] LUNA Tasks API version. |
LUNA_TASKS_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
[integer] HTTP connection timeout. |
| request |
60 |
[integer] HTTP request timeout (total). |
LUNA_LICENSES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5120 |
LUNA Faces origin. |
| api_version |
1 |
LUNA Faces api version. |
LUNA_HANDLERS_LIVENESS_SETTINGS
| Parameter name |
Default value |
Description |
| real_threshold |
0.88 |
Liveness v2 probability threshold. |
OTHER
| Parameter name |
Default value |
Description |
| luna_api_active_plugins |
[] |
[string] List active plugins. |
| indexed_lists_refresh_rate |
60 |
[integer] Indexed lists refresh rate, in seconds, works if USE_INDEX_MANAGER. |
| storage_time |
local |
[string] Time format used in DB entries: LOCAL or UTC. |
| default_face_descriptor_version |
56 |
[integer] Default descriptor version to work with. |
Admin configuration
The section describes the Admin service parameters.
You can configure the service using the Configurator service.
LUNA_CONFIGURATOR
| Parameter name |
Default value |
Description |
| use_configurator |
0 |
Load configs from configurator. |
| luna_configurator_origin |
http://127.0.0.1:5070 |
Luna-Configurator origin. |
| luna_configurator_api |
1 |
Luna-Configurator api version. |
LUNA_ADMIN_DB
| Parameter name |
Default value |
Description |
| db_type |
postgres |
Type of database: postgres, oracle, default postgres. |
| db_user |
luna |
Database login. |
| db_password |
luna |
Database password. |
| db_name |
luna_admin |
Name of database for postgres, sid name for oracle. |
| db_host |
127.0.0.1 |
Ip-Address of database. |
| db_port |
5432 |
Database listener port, 5432 - default port of postgres, 1521 - default port of oracle. |
INFLUX_MONITORING
| Parameter name |
Default value |
Description |
| send_data_for_monitoring |
0 |
[integer] Whether to send data for monitoring to InfluxDB. |
| version |
2 |
[integer] InfluxDB version (1 for InfluxDB 1.x, or 2 for InfluxDB 2.x). |
| organization |
|
[string] InfluxDB 2.x workspace. |
| token |
|
[string] InfluxDB 2.x authentication token. |
| bucket |
luna_monitoring |
[string] InfluxDB 2.x bucket name. |
| host |
127.0.0.1 |
[string] Ip-Address of InfluxDB. |
| port |
8086 |
[integer] Port of InfluxDB. |
| use_ssl |
0 |
[integer] Whether HTTPS should be used for connection to InfluxDB. |
| flushing_period |
1 |
[integer] Frequency of sending monitoring data to InfluxDB (in seconds). |
LUNA_ADMIN_LOGGER
| Parameter name |
Default value |
Description |
| folder_with_logs |
./ |
Folder, where logs are saved. |
| log_level |
info |
Level of debug print, by priority: ERROR, WARNING, INFO, DEBUG. |
| log_time |
local |
Time for records in logs: LOCAL or UTC. |
| max_log_file_size |
1024 |
Maximum log file size in megabytes for rotation (0 - without rotation). |
| log_to_stdout |
1 |
Send log to stdout. |
| log_to_file |
1 |
Send log to file. |
| multiline_stack_trace |
1 |
Allow a multiline line stack trace message. |
LUNA_API_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5000 |
LUNA API origin. |
| api_version |
6 |
LUNA API api version. |
LUNA_FACES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5030 |
LUNA Faces origin. |
| api_version |
3 |
LUNA Faces api version. |
LUNA_IMAGE_STORE_FACES_SAMPLES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5020 |
LUNA Image-Store samples origin. |
| api_version |
1 |
LUNA Image-Store samples api version. |
| bucket |
visionlabs-samples |
Bucket name, where samples will be stored. |
LUNA_IMAGE_STORE_BODIES_SAMPLES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5020 |
LUNA Image-Store samples origin. |
| api_version |
1 |
LUNA Image-Store samples api version. |
| bucket |
visionlabs-bodies-samples |
Bucket name, where samples will be stored. |
LUNA_IMAGE_STORE_TASK_RESULT_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5020 |
LUNA Image-Store task result origin. |
| api_version |
1 |
LUNA Image-Store task result api version. |
| bucket |
task-result |
Bucket name, where task result will be stored. |
LUNA_SENDER_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5080 |
LUNA Sender origin. |
| api_version |
2 |
LUNA Sender api version. |
LUNA_INDEX_MANAGER_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5060 |
LUNA Index Manager origin. |
| api_version |
1 |
LUNA Index Manager api version. |
LUNA_EVENTS_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5040 |
LUNA Events origin. |
| api_version |
2 |
LUNA Events api version. |
LUNA_TASKS_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5050 |
LUNA Tasks origin. |
| api_version |
2 |
LUNA Tasks api version. |
LUNA_HANDLERS_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5090 |
LUNA Handlers origin. |
| api_version |
1 |
LUNA Handlers api version. |
LUNA_PYTHON_MATCHER_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5100 |
LUNA Python Matcher origin. |
| api_version |
1 |
LUNA Python Matcher api version. |
LUNA_MATCHER_PROXY_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5110 |
LUNA Matcher Proxy origin. |
| api_version |
1 |
LUNA Matcher Proxy api version. |
LUNA_LICENSES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5120 |
LUNA Licenses origin. |
| api_version |
1 |
LUNA Licenses api version. |
LIVENESS_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:8080 |
Liveness service. |
QUEUE_SETTINGS
COMMON QUEUE SETTINGS:
| Parameter name |
Default value |
Description |
| max_retries |
5 |
Max count of retry message. |
| delay_step |
10 |
Delay step for retry. |
| api_version |
14 |
Current Luna Core api version. |
| request_timeout |
30 |
Total request timeout. |
RABBIT MQ SETTINGS
| Parameter name |
Default value |
Description |
| queue_type |
rabbit |
Queue type: "rabbit". |
| host |
127.0.0.1 |
Queue host. |
| port |
5672 |
Queue port, default: 5672 for rabbit. |
| user |
luna |
Queue user. |
| password |
luna |
Queue password. |
IBM MQ SETTINGS
| Parameter name |
Default value |
Description |
| queue_type |
ibmmq |
Queue type: "ibmmq". |
| host |
127.0.0.1 |
Queue host. |
| port |
1414 |
Queue port, default: 1414 for ibmmq. |
| user |
luna |
Queue user. |
| password |
luna |
Queue password. |
| ibm_manager |
saturn.queue.manager |
IBM MQ manager. |
| ibm_channel |
password.svrconn |
IBM MQ channel. |
SQS SETTINGS
| Parameter name |
Default value |
Description |
| queue_type |
sqs |
Queue type: "sqs". |
| aws_public_access_key |
|
AWS public access key. |
| aws_secret_access_key |
|
AWS secret access key. |
| aws_scheme |
https |
AWS scheme, one of: "http", "https" or "mqtt". |
| aws_authorization_signature |
s3v4 |
AWS authorization signature, one of: "s3v2" or "s3v4". |
| aws_region |
|
AWS endpoint region. |
| aws_connect_timeout |
20 |
AWS request connect timeout. |
INDEXED_MATCHER_QUEUE
| Parameter name |
Default value |
Description |
| rabbit_exchange |
luna.match |
Rabbit indexed matcher exchange. |
| routing_key |
indexed_matcher |
Routing key for indexed matcher queue. |
INDEXER_QUEUE
| Parameter name |
Default value |
Description |
| rabbit_exchange |
luna.index |
Rabbit indexer exchange. |
| routing_key |
indexer |
Routing key for indexer queue. |
LUNA_ADMIN_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
ADDITIONAL_SERVICES_USAGE
| Parameter name |
Default value |
Description |
| luna_events |
1 |
Support luna-events service as a data source for tasks (0 - disable, 1 - enable). |
| luna_tasks |
1 |
Support luna-task service for executing long tasks. |
| luna_sender |
0 |
Support luna-sender service, subscription on events by web sockets. |
| indexed_matcher |
0 |
Support matching by indexed lists. |
| luna_matcher_proxy |
1 |
Support sharded matching. |
| liveness |
0 |
Whether to use liveness. |
OTHER
| Parameter name |
Default value |
Description |
| luna_admin_active_plugins |
[] |
List active plugins for luna-admin. |
| storage_time |
local |
Time in which records are stored in the database. |
Faces configuration
The section describes the Faces service parameters.
You can configure the service using the Configurator service.
LUNA_CONFIGURATOR
| Parameter name |
Default value |
Description |
| use_configurator |
0 |
[integer] Whether to load configs from configurator. |
| luna_configurator_origin |
http://127.0.0.1:5070 |
[string] LUNA Configurator protocol, ip-address, and port. |
| luna_configurator_api |
1 |
[integer] LUNA Configurator API version. |
LUNA_FACES_DB
| Parameter name |
Default value |
Description |
| db_type |
postgres |
[string] Type of database: postgres, oracle, default postgres. |
| db_user |
luna |
[string] Login to database. |
| db_password |
luna |
[string] Password to database. |
| db_host |
127.0.0.1 |
[string] Ip-Address of database. |
| db_port |
5432 |
[integer] Database listener port, 5432 - default for Postgres, 1521 - default for Oracle. |
| db_name |
luna_faces |
[string] Name of database for postgres, SID name for Oracle. |
LUNA_ATTRIBUTES_DB
| Parameter name |
Default value |
Description |
| password |
|
[string] Login to database. |
| host |
127.0.0.1 |
[string] Ip-Address of database. |
| port |
6379 |
[integer] Database listener port, 5432 - default for Postgres, 1521 - default for Oracle. |
| number |
0 |
[integer] Redis database number (0-15). |
| master_name |
luna_attributes |
[string] Sentinel master name. |
| sentinels |
[] |
[list[string] List redis sentinel listeners (example [127.0.0.1:26379, 10.0.4.1:26379]). |
ATTRIBUTES_STORAGE_POLICY
| Parameter name |
Default value |
Description |
| default_ttl |
300 |
[integer] Default time to live of temporary attributes (in seconds), default: 5 minutes. |
| max_ttl |
86400 |
[integer] Maximum time to live of temporary attributes (in seconds), default: 1 day. |
LUNA_FACES_LOGGER
| Parameter name |
Default value |
Description |
| folder_with_logs |
./ |
[string] Folder, where logs are saved (relative path - begins in directory with application). |
| log_level |
info |
[string] Level of debug print, by priority: ERROR, WARNING, INFO, DEBUG. |
| log_time |
local |
[string] Time format used in log records: LOCAL or UTC. |
| max_log_file_size |
1024 |
[integer] Maximum log file size in megabytes before performing rotation (0 - without rotation). |
| log_to_stdout |
1 |
Send log to stdout. |
| log_to_file |
1 |
Send log to file. |
| multiline_stack_trace |
1 |
Allow a multiline line stack trace message. |
INFLUX_MONITORING
| Parameter name |
Default value |
Description |
| send_data_for_monitoring |
0 |
[integer] Whether to send data for monitoring to InfluxDB. |
| user_name |
"" |
[string] InfluxDB login. |
| password |
"" |
[string] InfluxDB password. |
| database_name |
luna_monitoring |
[string] InfluxDB database name. |
| host |
127.0.0.1 |
[string] Ip-Address of InfluxDB. |
| port |
8086 |
[integer] Port of InfluxDB. |
| use_ssl |
0 |
[integer] Whether HTTPS should be used for connection to InfluxDB. |
| flushing_period |
1 |
[integer] Frequency of sending monitoring data to InfluxDB (in seconds). |
OTHER
| Parameter name |
Default value |
Description |
| database_number |
0 |
[integer] Database number; set 0 if replication is disabled; for more information see 'replication' in sphinx documentation. |
| default_face_descriptor_version |
56 |
[string] Default descriptor version to work with. |
| use_material_views |
0 |
[integer] Whether to use materialized views flag; for more information see 'materialized' in sphinx documentation. |
| luna_faces_db_ping_max_count |
0 |
[integer] Maximum number of database connection checks for each request; if DB is unavailable, an error is returned; when <=0 no checks performed. |
| storage_time |
local |
[string] Time format used in DB entries: LOCAL or UTC. |
| luna_faces_active_plugins |
[] |
List active plugins. |
Image Store configuration
The section describes the Image Store service parameters.
You can configure the service using the Configurator service.
LUNA_CONFIGURATOR
| Parameter name |
Default value |
Description |
| use_configurator |
0 |
[integer] Whether to load configs from configurator. |
| luna_configurator_origin |
http://127.0.0.1:5070 |
[string] LUNA Configurator protocol, ip-address, and port. |
| luna_configurator_api |
1 |
[integer] LUNA Configurator API version. |
LUNA_IMAGE_STORE_LOGGER
| Parameter name |
Default value |
Description |
| folder_with_logs |
./ |
[string] Folder, where logs are saved (relative path - begins in directory with application). |
| log_level |
info |
[string] Level of debug print, by priority: ERROR, WARNING, INFO, DEBUG. |
| log_time |
local |
[string] Time format used in log records: LOCAL or UTC. |
| max_log_file_size |
1024 |
[integer] Maximum log file size in megabytes before performing rotation (0 - without rotation). |
| log_to_stdout |
1 |
Send log to stdout. |
| log_to_file |
1 |
Send log to file. |
| multiline_stack_trace |
1 |
Allow a multiline line stack trace message. |
INFLUX_MONITORING
| Parameter name |
Default value |
Description |
| send_data_for_monitoring |
0 |
[integer] Whether to send data for monitoring to InfluxDB. |
| version |
2 |
[integer] InfluxDB version (1 for InfluxDB 1.x, or 2 for InfluxDB 2.x). |
| organization |
|
[string] InfluxDB 2.x workspace. |
| token |
|
[string] InfluxDB 2.x authentication token. |
| bucket |
luna_monitoring |
[string] InfluxDB 2.x bucket name. |
| host |
127.0.0.1 |
[string] Ip-Address of InfluxDB. |
| port |
8086 |
[integer] Port of InfluxDB. |
| use_ssl |
0 |
[integer] Whether HTTPS should be used for connection to InfluxDB. |
| flushing_period |
1 |
[integer] Frequency of sending monitoring data to InfluxDB (in seconds). |
OTHER
| Parameter name |
Default value |
Description |
| storage_type |
local |
[string] Type of storage used (S3 or LOCAL), where LOCAL is HDD. |
| local_storage |
./local_storage |
[string] Folder, where images are stored (relative path - begins in directory with application). |
| default_image_extension |
jpg |
[string] Current image extension: jpg or png. |
| luna_image_store_active_plugins |
[] |
[list(string)] List active plugins. |
Tasks configuration
The section describes the Tasks service parameters.
You can configure the service using the Configurator service.
LUNA_CONFIGURATOR
| Parameter name |
Default value |
Description |
| use_configurator |
0 |
Load configs from configurator. |
| luna_configurator_origin |
http://127.0.0.1:5070 |
Luna-Configurator origin. |
| luna_configurator_api |
1 |
Luna-Configurator api version. |
LUNA_TASKS_DB
| Parameter name |
Default value |
Description |
| db_type |
postgres |
Type of database: postgres, oracle, default postgres. |
| db_user |
luna |
Database login. |
| db_password |
luna |
Database password. |
| db_name |
luna_tasks |
Name of database for postgres, sid name for oracle. |
| db_host |
127.0.0.1 |
Ip-Address of database. |
| db_port |
5432 |
Database listener port, 5432 - default port of postgres, 1521 - default port of oracle. |
LUNA_TASKS_LOGGER
| Parameter name |
Default value |
Description |
| folder_with_logs |
./ |
Folder, where logs are saved. |
| log_level |
info |
Level of debug print, by priority: ERROR, WARNING, INFO, DEBUG. |
| log_time |
local |
Time for records in logs: LOCAL or UTC. |
| max_log_file_size |
1024 |
Maximum log file size in megabytes for rotation (0 - without rotation). |
| log_to_stdout |
1 |
Send log to stdout. |
| log_to_file |
1 |
Send log to file. |
| multiline_stack_trace |
1 |
Allow a multiline line stack trace message. |
INFLUX_MONITORING
| Parameter name |
Default value |
Description |
| send_data_for_monitoring |
0 |
Send data for monitoring to influxdb. |
| version |
2 |
[integer] InfluxDB version (1 for InfluxDB 1.x, or 2 for InfluxDB 2.x). |
| organization |
|
[string] InfluxDB 2.x workspace. |
| token |
|
[string] InfluxDB 2.x authentication token. |
| bucket |
luna_monitoring |
[string] InfluxDB 2.x bucket name. |
| host |
127.0.0.1 |
Ip-Address of the influxdb. |
| port |
8086 |
Port of the influxdb. |
| use_ssl |
0 |
If https should be used for connection to the influxdb (0 - not use , otherwise yes). |
| flushing_period |
1 |
Frequency of sending monitoring data to influx (in seconds). |
LUNA_IMAGE_STORE_FACES_SAMPLES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5020 |
LUNA Image-Store samples origin. |
| api_version |
1 |
LUNA Image-Store samples api version. |
| bucket |
visionlabs-samples |
Bucket name, where samples will be stored. |
LUNA_IMAGE_STORE_BODIES_SAMPLES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5020 |
LUNA Image-Store samples origin. |
| api_version |
1 |
LUNA Image-Store samples api version. |
| bucket |
visionlabs-bodies-samples |
Bucket name, where samples will be stored. |
LUNA_IMAGE_STORE_FACES_SAMPLES_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
20 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LUNA_IMAGE_STORE_BODIES_SAMPLES_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LUNA_IMAGE_STORE_TASK_RESULT_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5020 |
LUNA Image-Store samples origin. |
| api_version |
1 |
LUNA Image-Store samples api version. |
| bucket |
task-result |
Bucket name, where samples will be stored. |
LUNA_IMAGE_STORE_TASK_RESULT_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
20 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LUNA_FACES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5030 |
LUNA Faces origin. |
| api_version |
3 |
LUNA Faces api version. |
LUNA_FACES_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
20 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LUNA_PYTHON_MATCHER_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5100 |
LUNA Python Matcher origin. |
| api_version |
1 |
LUNA Python Matcher api version. |
LUNA_MATCHER_PROXY_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5110 |
LUNA Python Matcher Proxy origin. |
| api_version |
1 |
LUNA Python Matcher Proxy api version. |
LUNA_TASKS_TO_MATCHER_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
ADDITIONAL_SERVICES_USAGE
| Parameter name |
Default value |
Description |
| luna_events |
1 |
Support events as a data source for tasks (0 - disable, 1 - enable). |
| luna_matcher_proxy |
1 |
[integer] Whether to use LUNA Python Matcher Proxy instead of LUNA Python Matcher. |
LUNA_EVENTS_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5040 |
LUNA Events origin. |
| api_version |
2 |
LUNA Events api version. |
LUNA_EVENTS_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
20 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LUNA_HANDLERS_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5090 |
LUNA Handlers origin. |
| api_version |
1 |
LUNA Handlers api version. |
LUNA_HANDLERS_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
20 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LUNA_TASKS_WORKER_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
20 |
CONNECT TIMEOUT. |
| request |
600 |
REQUEST TIMEOUT (total). |
OTHER
| Parameter name |
Default value |
Description |
| storage_time |
local |
Storage time - LOCAL or UTC. |
| luna_tasks_worker_address |
http://127.0.0.1:5051 |
Luna Tasks worker address to send tasks to. |
| clustering_match_limit |
5 |
Candidates count limit in match response. |
| workers_count_per_task_type |
5 |
Luna Tasks Workers' concurrency: number of workers for every task type. |
| max_error_count_per_task |
100_000 |
Maximum errors count per task to store. |
| tasks_to_faces_requests_concurrency |
5 |
Concurrency for hard requests to luna-faces. |
| tasks_to_image_store_requests_concurrency |
100 |
Concurrency for requests to luna-image-store. |
| tasks_router_to_worker_requests_concurrency |
10 |
Concurrency for sending subtasks to luna-tasks-workers. |
| tasks_to_handlers_concurrency |
8 |
Concurrency for extract requests to luna-handlers. |
Events configuration
The section describes the Events service parameters.
You can configure the service using the Configurator service.
LUNA_CONFIGURATOR
| Parameter name |
Default value |
Description |
| use_configurator |
0 |
[integer] Whether to load configs from configurator. |
| luna_configurator_origin |
http://127.0.0.1:5070 |
[string] LUNA Configurator protocol, ip-address, and port. |
| luna_configurator_api |
1 |
[integer] LUNA Configurator api version. |
LUNA_EVENTS_LOGGER
| Parameter name |
Default value |
Description |
| log_level |
info |
[string] Level of debug print, by priority: ERROR, WARNING, INFO, DEBUG. |
| log_time |
local |
[string] Time format used in logs: LOCAL or UTC. |
| folder_with_logs |
./ |
[string] Folder, where logs are saved (relative path - begins in directory with application). |
| max_log_file_size |
1024 |
[integer] Maximum log file size in megabytes before rotation (0 - without rotation). |
| log_to_stdout |
1 |
Send log to stdout. |
| log_to_file |
1 |
Send log to file. |
| multiline_stack_trace |
1 |
Allow a multiline line stack trace message. |
LUNA_EVENTS_DB
| Parameter name |
Default value |
Description |
| db_type |
vertica |
[string] Type of database: vertica or postgres, default vertica. |
| db_user |
luna |
[string] Login to database. |
| db_password |
luna |
[string] Password to database. |
| db_host |
127.0.0.1 |
[string] Ip-Address of database. |
| db_port |
5433 |
[integer] Database listener port, 5433 - default for Vertica, 5432 - default for Postgres. |
| db_name |
luna_events |
[string] Name of database. |
INFLUX_MONITORING
| Parameter name |
Default value |
Description |
| send_data_for_monitoring |
0 |
[integer] Whether to send data for monitoring to InfluxDB. |
| version |
2 |
[integer] InfluxDB version (1 for InfluxDB 1.x, or 2 for InfluxDB 2.x). |
| organization |
|
[string] InfluxDB 2.x workspace. |
| token |
|
[string] InfluxDB 2.x authentication token. |
| bucket |
luna_monitoring |
[string] InfluxDB 2.x bucket name. |
| host |
127.0.0.1 |
[string] Ip-Address of InfluxDB. |
| port |
8086 |
[integer] Port of InfluxDB. |
| use_ssl |
0 |
[integer] Whether https should be used for connection to InfluxDB. |
| flushing_period |
1 |
[integer] Period of sending monitoring data to the InfluxDB (in seconds). |
OTHER
| Parameter name |
Default value |
Description |
| save_events_interval |
1 |
[integer] Interval for 'copy' events into Vertica database, in seconds. |
| storage_time |
local |
[string] Time format used for records in database: LOCAL or UTC. |
| default_face_descriptor_version |
59 |
[integer] Default face descriptor version. |
| default_human_descriptor_version |
104 |
[integer] Default human descriptor version. |
| save_events_timeout |
-1 |
[float] Save events timeout. 0 or negative means no timeout. |
| luna_events_active_plugins |
[] |
[list(string)] List active plugins. |
Sender configuration
The section describes the Sender service parameters.
You can configure the service using the Configurator service.
LUNA_CONFIGURATOR
| Parameter name |
Default value |
Description |
| use_configurator |
0 |
[integer] Whether to load configs from configurator. |
| luna_configurator_origin |
http://127.0.0.1:5070 |
[string] LUNA Configurator protocol, ip-address, and port. |
| luna_configurator_api |
1 |
[integer] Luna-Configurator API version. |
REDIS_DB_ADDRESS
| Parameter name |
Default value |
Description |
| host |
127.0.0.1 |
[string] Redis host for the service subscription. |
| port |
6379 |
[string] Redis port for the service subscription. |
| password |
|
[string] Redis password for the service subscription. |
| channel |
luna-sender |
[string] Redis chanel for the service subscription. |
| master_name |
luna_sender_master |
[string] Sentinel master name. |
| sentinels |
[] |
By setting this parameter, application will query redis parameters (host and port) from sentinels. |
LUNA_SENDER_LOGGER
| Parameter name |
Default value |
Description |
| folder_with_logs |
./ |
[string] Folder, where logs are saved (relative path - begins in directory with application). |
| log_level |
info |
[string] Level of debug print, by priority: ERROR, WARNING, INFO, DEBUG. |
| log_time |
local |
[string] Time format used in log records: LOCAL or UTC. |
| max_log_file_size |
1024 |
[string] Maximum log file size in megabytes before performing rotation (0 - without rotation). |
| log_to_stdout |
1 |
Send log to stdout. |
| log_to_file |
1 |
Send log to file. |
| multiline_stack_trace |
1 |
Allow a multiline line stack trace message. |
INFLUX_MONITORING
| Parameter name |
Default value |
Description |
| send_data_for_monitoring |
0 |
[integer] Whether to send data for monitoring to InfluxDB. |
| version |
2 |
[integer] InfluxDB version (1 for InfluxDB 1.x, or 2 for InfluxDB 2.x). |
| organization |
|
[string] InfluxDB 2.x workspace. |
| token |
|
[string] InfluxDB 2.x authentication token. |
| bucket |
luna_monitoring |
[string] InfluxDB 2.x bucket name. |
| host |
127.0.0.1 |
[string] Ip-Address of InfluxDB. |
| port |
8086 |
[integer] Port of InfluxDB. |
| use_ssl |
0 |
[integer] Whether HTTPS should be used for connection to InfluxDB. |
| flushing_period |
1 |
[integer] Frequency of sending monitoring data to InfluxDB (in seconds). |
OTHER
| Parameter name |
Default value |
Description |
| luna_sender_active_plugins |
[] |
[list(string)] List of active plugins. |
Licenses configuration
The section describes the Licenses service parameters.
You can configure the service using the Configurator service.
LUNA_CONFIGURATOR
| Parameter name |
Default value |
Description |
| use_configurator |
0 |
Load configs from configurator. |
| luna_configurator_origin |
http://127.0.0.1:5070 |
Luna-Configurator origin. |
| luna_configurator_api |
1 |
Luna-Configurator api version. |
LUNA_LICENSES_LOGGER
| Parameter name |
Default value |
Description |
| folder_with_logs |
./ |
Folder, where logs are saved. |
| log_level |
info |
Level of debug print, by priority: ERROR, WARNING, INFO, DEBUG. |
| log_time |
local |
Time for records in logs: LOCAL or UTC. |
| max_log_file_size |
1024 |
Maximum log file size in megabytes for rotation (0 - without rotation). |
INFLUX_MONITORING
| Parameter name |
Default value |
Description |
| send_data_for_monitoring |
0 |
Send data for monitoring to influxdb. |
| version |
2 |
[integer] InfluxDB version (1 for InfluxDB 1.x, or 2 for InfluxDB 2.x). |
| organization |
|
[string] InfluxDB 2.x workspace. |
| token |
|
[string] InfluxDB 2.x authentication token. |
| bucket |
luna_monitoring |
[string] InfluxDB 2.x bucket name. |
| host |
127.0.0.1 |
Ip-Address of the influxdb. |
| port |
8086 |
Port of the influxdb. |
| use_ssl |
0 |
If https should be used for connection to the influxdb (0 - not use , otherwise yes). |
| flushing_period |
1 |
Frequency of sending monitoring data to influx (in seconds). |
LUNA_FACES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5030 |
LUNA Faces origin. |
| api_version |
3 |
LUNA Faces api version. |
LUNA_FACES_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
Python Matcher configuration
The section describes the Python Matcher service parameters.
You can configure the service using the Configurator service.
LUNA_CONFIGURATOR
| Parameter name |
Default value |
Description |
| use_configurator |
0 |
Load configs from configurator. |
| luna_configurator_origin |
http://127.0.0.1:5070 |
Luna-Configurator origin. |
| luna_configurator_api |
1 |
Luna-Configurator api version. |
LUNA_PYTHON_MATCHER_LOGGER
| Parameter name |
Default value |
Description |
| folder_with_logs |
./ |
Folder, where logs are saved. |
| log_level |
info |
Level of debug print, by priority: ERROR, WARNING, INFO, DEBUG. |
| log_time |
local |
Time for records in logs: LOCAL or UTC. |
| max_log_file_size |
1024 |
Maximum log file size in megabytes for rotation (0 - without rotation). |
| log_to_stdout |
1 |
Send log to stdout. |
| log_to_file |
1 |
Send log to file. |
| multiline_stack_trace |
1 |
Allow a multiline line stack trace message. |
INFLUX_MONITORING
| Parameter name |
Default value |
Description |
| send_data_for_monitoring |
0 |
Send data for monitoring to influxdb. |
| version |
2 |
[integer] InfluxDB version (1 for InfluxDB 1.x, or 2 for InfluxDB 2.x). |
| organization |
|
[string] InfluxDB 2.x workspace. |
| token |
|
[string] InfluxDB 2.x authentication token. |
| bucket |
luna_monitoring |
[string] InfluxDB 2.x bucket name. |
| host |
127.0.0.1 |
Ip-Address of the influxdb. |
| port |
8086 |
Port of the influxdb. |
| use_ssl |
0 |
If https should be used for connection to the influxdb (0 - not use , otherwise yes). |
| flushing_period |
1 |
Frequency of sending monitoring data to influx (in seconds). |
LUNA_FACES_DB
| Parameter name |
Default value |
Description |
| db_type |
postgres |
[string] Type of database: postgres, oracle, default postgres. |
| db_user |
luna |
[string] Login to database. |
| db_password |
luna |
[string] Password to database. |
| db_host |
127.0.0.1 |
[string] Ip-Address of database. |
| db_port |
5432 |
[integer] Database listener port, 5432 - default for Postgres, 1521 - default for Oracle. |
| db_name |
luna_faces |
[string] Name of database for postgres, SID name for Oracle. |
LUNA_ATTRIBUTES_DB
| Parameter name |
Default value |
Description |
| password |
|
[string] Login to database. |
| host |
127.0.0.1 |
[string] Ip-Address of database. |
| port |
6379 |
[integer] Database listener port, 5432 - default for Postgres, 1521 - default for Oracle. |
| number |
0 |
[integer] Redis database number (0-15). |
| master_name |
luna_attributes |
[string] Sentinel master name. |
| sentinels |
[] |
[list[string] List redis sentinel listeners (example [127.0.0.1:26379, 10.0.4.1:26379]). |
ADDITIONAL_SERVICES_USAGE
| Parameter name |
Default value |
Description |
| luna_events |
1 |
[integer] Whether to send events to LUNA Events for storing. |
| indexed_matcher |
0 |
[integer] Whether to use LUNA Indexed Matcher. |
LUNA_EVENTS_DB
| Parameter name |
Default value |
Description |
| db_type |
vertica |
[string] Type of database: vertica or postgres, default vertica. |
| db_user |
luna |
[string] Login to database. |
| db_password |
luna |
[string] Password to database. |
| db_host |
127.0.0.1 |
[string] Ip-Address of database. |
| db_port |
5433 |
[integer] Database listener port, 5433 - default for Vertica, 5432 - default for Postgres. |
| db_name |
luna_events |
[string] Name of database. |
LUNA_INDEX_MANAGER_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5060 |
[string] LUNA Index manager protocol, ip-address, and port. |
| api_version |
1 |
[integer] LUNA Index Manager API version. |
LUNA_INDEX_MANAGER_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
[integer] HTTP connection timeout. |
| request |
60 |
[integer] HTTP request timeout (total). |
LUNA_PYTHON_MATCHER_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5100 |
[string] LUNA Python Matcher protocol, ip-address, and port. |
| api_version |
1 |
[integer] LUNA Python Matcher API version. |
LUNA_PROXY_TO_PYTHON_MATCHER_TIMEOUTS
| Parameter name |
Default value |
Description |
| sock_read |
300 |
[integer] A timeout for reading a portion of data from a peer. |
| request |
300 |
[integer] HTTP request timeout (total). |
QUEUE_SETTINGS
COMMON QUEUE SETTINGS:
| Parameter name |
Default value |
Description |
| max_retries |
5 |
[integer] Maximum number of attempts to reconnect to queue. |
| delay_step |
10 |
[integer] Queue reconnection attempt interval. |
| api_version |
14 |
[integer] Current LUNA Core API version. |
| request_timeout |
30 |
[integer] Request timeout period when using queues (LUNA Detector, Extractor, Matcher). |
RABBIT MQ SETTINGS
| Parameter name |
Default value |
Description |
| queue_type |
rabbit |
[string] Queue type: rabbit. |
| host |
127.0.0.1 |
[string] RabbitMQ host. |
| port |
5672 |
[integer] Queue port, default: 5672. |
| user |
luna |
[string] RabbitMQ user. |
| password |
luna |
[string] RabbitMQ password. |
IBM MQ SETTINGS
| Parameter name |
Default value |
Description |
| queue_type |
ibmmq |
[string] Queue type: ibmmq. |
| host |
127.0.0.1 |
[string] IBM MQ host. |
| port |
1414 |
[integer] IBM MQ port, default: 1414. |
| user |
luna |
[string] IBM MQ user. |
| password |
luna |
[string] IBM MQ password. |
| ibm_manager |
saturn.queue.manager |
[string] IBM MQ container abstract; queues are searched for in the specified managers. |
| ibm_channel |
password.svrconn |
[string] IBM MQ channel. |
SQS SETTINGS
| Parameter name |
Default value |
Description |
| queue_type |
sqs |
[string] Queue type: sqs. |
| aws_public_access_key |
|
[string] AWS public access key. |
| aws_secret_access_key |
|
[string] AWS secret access key. |
| aws_scheme |
https |
[string] AWS scheme: http, https or mqtt. |
| aws_authorization_signature |
s3v4 |
[string] AWS authorization signature: s3v2 or s3v4. |
| aws_region |
|
[string] AWS endpoint region. |
| aws_connect_timeout |
20 |
[integer] AWS request connect timeout. |
| ibm_heart_beat_interval |
1 |
[integer] IBM MQ availability checks interval (in seconds). |
DESCRIPTORS_CACHE
| Parameter name |
Default value |
Description |
| cache_enabled |
1 |
[integer] Use or not cache to speed up some requests. |
| updating_cache_interval |
2 |
[integer] A updating cache interval in seconds. |
| thread_count |
0 |
[integer] Thead count for matching by the cache non negative, 0 - auto select. |
OTHER
| Parameter name |
Default value |
Description |
| default_face_descriptor_version |
59 |
[int] Default face descriptor version. |
| default_human_descriptor_version |
104 |
[int] Default human descriptor version. |
| storage_time |
local |
[string] Time format used in DB entries: LOCAL or UTC. |
| indexed_lists_refresh_rate |
60 |
[int] Indexed lists refresh rate. |
LUNA_MATCHER_PROXY_LOGGER
| Parameter name |
Default value |
Description |
| folder_with_logs |
./ |
Folder, where logs are saved. |
| log_level |
info |
Level of debug print, by priority: ERROR, WARNING, INFO, DEBUG. |
| log_time |
local |
Time for records in logs: LOCAL or UTC. |
| max_log_file_size |
1024 |
Maximum log file size in megabytes for rotation (0 - without rotation). |
| log_to_stdout |
1 |
Send log to stdout. |
| log_to_file |
1 |
Send log to file. |
| multiline_stack_trace |
1 |
Allow a multiline line stack trace message. |
| cluster_type |
core-indexed-matcher |
[string] Cluster type - LUNA Core Indexed Matcher. |
| routing_key |
indexed_matcher |
[string] Routing key for indexed matcher queue. |
| rabbit_exchange |
luna.match |
[string] RabbitMQ indexed matcher exchange. |
Handlers configuration
The section describes the Handlers service parameters.
You can configure the service using the Configurator service.
LUNA_CONFIGURATOR
| Parameter name |
Default value |
Description |
| use_configurator |
0 |
Load configs from configurator. |
| luna_configurator_origin |
http://127.0.0.1:5070 |
Luna-Configurator origin. |
| luna_configurator_api |
1 |
Luna-Configurator api version. |
LUNA_HANDLERS_DB
| Parameter name |
Default value |
Description |
| db_type |
postgres |
Type of database: postgres, oracle, default postgres. |
| db_user |
luna |
Database login. |
| db_password |
luna |
Database password. |
| db_name |
luna_handlers |
Name of database for postgres, sid name for oracle. |
| db_host |
127.0.0.1 |
Ip-Address of database. |
| db_port |
5432 |
Database listener port, 5432 - default port of postgres, 1521 - default port of oracle. |
INFLUX_MONITORING
| Parameter name |
Default value |
Description |
| send_data_for_monitoring |
0 |
Send data for monitoring to influxdb. |
| version |
2 |
[integer] InfluxDB version (1 for InfluxDB 1.x, or 2 for InfluxDB 2.x). |
| organization |
|
[string] InfluxDB 2.x workspace. |
| token |
|
[string] InfluxDB 2.x authentication token. |
| bucket |
luna_monitoring |
[string] InfluxDB 2.x bucket name. |
| host |
127.0.0.1 |
Ip-Address of the influxdb. |
| port |
8086 |
Port of the influxdb. |
| use_ssl |
0 |
If https should be used for connection to the influxdb (0 - not use , otherwise yes). |
| flushing_period |
1 |
Frequency of sending monitoring data to influx (in seconds). |
LUNA_HANDLERS_LOGGER
| Parameter name |
Default value |
Description |
| folder_with_logs |
./ |
Folder, where logs are saved. |
| log_level |
info |
Level of debug print, by priority: ERROR, WARNING, INFO, DEBUG. |
| log_time |
local |
Time for records in logs: LOCAL or UTC. |
| max_log_file_size |
1024 |
Maximum log file size in megabytes for rotation (0 - without rotation). |
| log_to_stdout |
1 |
Send log to stdout. |
| log_to_file |
1 |
Send log to file. |
| multiline_stack_trace |
1 |
Allow a multiline line stack trace message. |
LUNA_FACES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5030 |
LUNA Faces origin. |
| api_version |
3 |
LUNA Faces api version. |
LUNA_FACES_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LUNA_IMAGE_STORE_FACES_SAMPLES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5020 |
LUNA Image-Store samples origin. |
| api_version |
1 |
LUNA Image-Store samples api version. |
| bucket |
visionlabs-samples |
Bucket name, where samples will be stored. |
LUNA_IMAGE_STORE_BODIES_SAMPLES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5020 |
LUNA Image-Store samples origin. |
| api_version |
1 |
LUNA Image-Store samples api version. |
| bucket |
visionlabs-bodies-samples |
Bucket name, where samples will be stored. |
LUNA_IMAGE_STORE_IMAGES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5020 |
LUNA Image-Store images origin. |
| api_version |
1 |
LUNA Image-Store images api version. |
| bucket |
visionlabs-image-origin |
Bucket name, where origin images will be stored. |
LUNA_IMAGE_STORE_FACES_SAMPLES_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LUNA_IMAGE_STORE_BODIES_SAMPLES_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LUNA_IMAGE_STORE_IMAGES_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
ADDITIONAL_SERVICES_USAGE
| Parameter name |
Default value |
Description |
| luna_events |
1 |
Whether to send events to LUNA Events for storing. |
| luna_tasks |
1 |
Whether to use LUNA Tasks. |
| luna_sender |
1 |
Send events to the LUNA Sender subscription service. |
| luna_matcher_proxy |
1 |
[integer] Whether to use LUNA Python Matcher Proxy instead of LUNA Python Matcher. |
LUNA_EVENTS_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5040 |
LUNA Events Store origin. |
| api_version |
2 |
LUNA Events Store api version. |
LUNA_EVENTS_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LUNA_PYTHON_MATCHER_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5100 |
LUNA Python Matcher origin. |
| api_version |
1 |
LUNA Python Matcher api version. |
LUNA_PYTHON_MATCHER_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LUNA_MATCHER_PROXY_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5110 |
LUNA Python Matcher Proxy origin. |
| api_version |
1 |
LUNA Python Matcher Proxy api version. |
LUNA_PYTHON_MATCHER_PROXY_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
REDIS_DB_ADDRESS
| Parameter name |
Default value |
Description |
| host |
127.0.0.1 |
Redis host for the service subscription. |
| port |
6379 |
Redis port for the service subscription. |
| password |
|
Redis password for the service subscription. |
| channel |
luna-sender |
Redis chanel for the service subscription. |
| master_name |
luna_sender_master |
[string] Sentinel master name. |
| sentinels |
[] |
By setting this parameter, application will query redis parameters (host and port) from sentinels. |
FACE_DETECTOR_V3
| Parameter name |
Default value |
Description |
| max_face_size |
640 |
Max face size in pixels. |
| min_face_size |
50 |
Max face size in pixels. |
| redetect_face_target_size |
45 |
Target face size for redetect. |
| redetect_tensor_size |
80 |
Target face after preprocessing for redetect. |
| redetect_score_threshold |
0.357 |
Redetect score threshold: redetection is considered failed if score is lower. |
| score_threshold |
0.89 |
Score threshold: detection is considered failed if score is lower. |
BODY_DETECTOR
| Parameter name |
Default value |
Description |
| image_size |
640 |
Size for down scaling by load side. |
| redetect_score_threshold |
0.12 |
Redetect score threshold: redetection is considered failed if score is lower. |
| score_threshold |
0.3 |
Score threshold: detection is considered failed if score is lower. |
| landmarks17_threshold |
0.25 |
Landmarks17 score threshold: score threshold for body landmarks. |
LUNA_HANDLERS_EXTRACT_STAGE_SETTINGS
| Parameter name |
Default value |
Description |
| optimal_batch_size |
13 |
Optimal batch size for stage. |
| worker_count |
1 |
Worker count for attributes extraction stage. |
LUNA_HANDLERS_DETECT_FACES_STAGE_SETTINGS
| Parameter name |
Default value |
Description |
| optimal_batch_size |
8 |
Optimal batch size for stage. |
| worker_count |
1 |
Worker count for face detection stage. |
LUNA_HANDLERS_WARP_ESTIMATE_STAGE_SETTINGS
| Parameter name |
Default value |
Description |
| optimal_batch_size |
1 |
Optimal batch size for stage. |
| worker_count |
1 |
Worker count for warp estimation stage. |
LUNA_HANDLERS_DETECTOR_RUNTIME_SETTINGS
| Parameter name |
Default value |
Description |
| device_class |
cpu |
Execution face detection device type - cpu, gpu. |
| num_threads |
4 |
Number of worker threads. |
| num_compute_streams |
4 |
Number of streams; Increases performance, but works only with new versions of NVIDIA drivers. |
LUNA_HANDLERS_EXTRACTOR_RUNTIME_SETTINGS
| Parameter name |
Default value |
Description |
| device_class |
cpu |
Execution face attributes extraction device type - cpu, gpu. |
| num_threads |
4 |
Number of worker threads. |
| num_compute_streams |
4 |
Number of streams; Increases performance, but works only with new versions of NVIDIA drivers. |
LUNA_HANDLERS_WARP_ESTIMATOR_RUNTIME_SETTINGS
| Parameter name |
Default value |
Description |
| device_class |
cpu |
Execution warp estimation device type - cpu, gpu. |
| num_threads |
4 |
Number of worker threads. |
| num_compute_streams |
4 |
Number of streams; Increases performance, but works only with new versions of NVIDIA drivers. |
LUNA_HANDLERS_HUMAN_EXTRACT_STAGE_SETTINGS
| Parameter name |
Default value |
Description |
| optimal_batch_size |
13 |
Optimal batch size for stage. |
| worker_count |
1 |
Worker count for attributes extraction stage. |
LUNA_HANDLERS_DETECT_HUMANS_STAGE_SETTINGS
| Parameter name |
Default value |
Description |
| optimal_batch_size |
8 |
Optimal batch size for stage. |
| worker_count |
1 |
Worker count for face detection stage. |
LUNA_HANDLERS_HUMAN_DETECTOR_RUNTIME_SETTINGS
| Parameter name |
Default value |
Description |
| device_class |
cpu |
Execution human body detection device type - cpu, gpu. |
| num_threads |
4 |
Number of worker threads. |
| num_compute_streams |
4 |
Number of streams; Increases performance, but works only with new versions of NVIDIA drivers. |
LUNA_HANDLERS_HUMAN_EXTRACTOR_RUNTIME_SETTINGS
| Parameter name |
Default value |
Description |
| device_class |
cpu |
Execution human attributes extraction device type - cpu, gpu. |
| num_threads |
4 |
Number of worker threads. |
| num_compute_streams |
4 |
Number of streams; Increases performance, but works only with new versions of NVIDIA drivers. |
LUNA_HANDLERS_LOAD_EXTERNAL_IMAGES_TIMEOUT
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LUNA_HANDLERS_LIVENESS_SETTINGS
| Parameter name |
Default value |
Description |
| real_threshold |
0.88 |
(Float): liveness score threshold. |
OTHER
| Parameter name |
Default value |
Description |
| luna_handlers_active_plugins |
[] |
List active plugins. |
| indexed_lists_refresh_rate |
60 |
Indexed lists refresh rate, in seconds, works if USE_INDEX_MANAGER. |
| storage_time |
local |
Storage time - LOCAL or UTC. |
| luna_handlers_detector_type |
face_det_v3 |
Face detector type. |
| default_face_descriptor_version |
59 |
Default face descriptor version to work with. |
| default_human_descriptor_version |
104 |
Default human descriptor version to work with. |
| luna_handlers_use_auto_rotation |
true |
Whether to estimate image orientation mode and rotate image to normal state. |
Backport3 configuration
The section describes the Backport3 service parameters.
You can configure the service using the Configurator service.
LUNA_CONFIGURATOR
| Parameter name |
Default value |
Description |
| use_configurator |
0 |
Load configs from configurator. |
| luna_configurator_origin |
http://127.0.0.1:5070 |
Luna-Configurator origin. |
| luna_configurator_api |
1 |
Luna-Configurator api version. |
LUNA_BACKPORT3_LOGGER
| Parameter name |
Default value |
Description |
| folder_with_logs |
./ |
Folder, where logs are saved. |
| log_level |
info |
Level of debug print, by priority: ERROR, WARNING, INFO, DEBUG. |
| log_time |
local |
Time for records in logs: LOCAL or UTC. |
| max_log_file_size |
1024 |
Maximum log file size in megabytes for rotation (0 - without rotation). |
LUNA_BACKPORT3_DB
| Parameter name |
Default value |
Description |
| db_type |
postgres |
Type of database: postgres, oracle, default postgres. |
| db_user |
luna |
Database login. |
| db_password |
luna |
Database password. |
| db_name |
luna_backport3 |
Name of database for postgres, sid name for oracle. |
| db_host |
127.0.0.1 |
Ip-Address of database. |
| db_port |
5432 |
Database listener port, 5432 - default port of postgres, 1521 - default port of oracle. |
INFLUX_MONITORING
| Parameter name |
Default value |
Description |
| send_data_for_monitoring |
0 |
Send data for monitoring to influxdb. |
| version |
2 |
[integer] InfluxDB version (1 for InfluxDB 1.x, or 2 for InfluxDB 2.x). |
| organization |
|
[string] InfluxDB 2.x workspace. |
| token |
|
[string] InfluxDB 2.x authentication token. |
| bucket |
luna_monitoring |
[string] InfluxDB 2.x bucket name. |
| host |
127.0.0.1 |
Ip-Address of the influxdb. |
| port |
8086 |
Port of the influxdb. |
| use_ssl |
0 |
If https should be used for connection to the influxdb (0 - not use , otherwise yes). |
| flushing_period |
1 |
Frequency of sending monitoring data to influx (in seconds). |
LUNA_API_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5000 |
LUNA API origin. |
| api_version |
6 |
LUNA API api version. |
LUNA_API_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LUNA_IMAGE_STORE_PORTRAITS_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5020 |
LUNA Image-Store samples origin. |
| api_version |
1 |
LUNA Image-Store samples api version. |
| bucket |
portraits |
Bucket name, where samples will be stored. |
LUNA_IMAGE_STORE_PORTRAITS_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
OTHER
| Parameter name |
Default value |
Description |
| storage_time |
local |
Storage time - LOCAL or UTC. |
| use_samples_as_portraits |
1 |
Use samples as portraits. |
| max_candidate_in_response |
5 |
Max candidate count into a response on matching request. |
Backport4 configuration
The section describes the Backport4 service parameters.
You can configure the service using the Configurator service.
LUNA_CONFIGURATOR
| Parameter name |
Default value |
Description |
| use_configurator |
0 |
Load configs from configurator. |
| luna_configurator_origin |
http://127.0.0.1:5070 |
Luna-Configurator origin. |
| luna_configurator_api |
1 |
Luna-Configurator api version. |
INFLUX_MONITORING
| Parameter name |
Default value |
Description |
| send_data_for_monitoring |
0 |
Send data for monitoring to influxdb. |
| version |
2 |
[integer] InfluxDB version (1 for InfluxDB 1.x, or 2 for InfluxDB 2.x). |
| organization |
|
[string] InfluxDB 2.x workspace. |
| token |
|
[string] InfluxDB 2.x authentication token. |
| bucket |
luna_monitoring |
[string] InfluxDB 2.x bucket name. |
| host |
127.0.0.1 |
Ip-Address of the influxdb. |
| port |
8086 |
Port of the influxdb. |
| use_ssl |
0 |
If https should be used for connection to the influxdb (0 - not use , otherwise yes). |
| flushing_period |
1 |
Frequency of sending monitoring data to influx (in seconds). |
LUNA_BACKPORT4_LOGGER
| Parameter name |
Default value |
Description |
| folder_with_logs |
./ |
Folder, where logs are saved. |
| log_level |
info |
Level of debug print, by priority: ERROR, WARNING, INFO, DEBUG. |
| log_time |
local |
Time for records in logs: LOCAL or UTC. |
| max_log_file_size |
1024 |
Maximum log file size in megabytes for rotation (0 - without rotation). |
LUNA_API_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5000 |
LUNA API origin. |
| api_version |
6 |
LUNA API api version. |
LUNA_API_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
LUNA_FACES_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5030 |
LUNA Faces origin. |
| api_version |
3 |
LUNA Faces api version. |
LUNA_FACES_TIMEOUTS
| Parameter name |
Default value |
Description |
| connect |
30 |
CONNECT TIMEOUT. |
| request |
60 |
REQUEST TIMEOUT (total). |
ATTRIBUTES_STORAGE_POLICY
| Parameter name |
Default value |
Description |
| max_ttl |
86400 |
[integer] Maximum time to live for temporary attributes (in seconds), default: 1 day. |
OTHER
| Parameter name |
Default value |
Description |
| luna_backport4_active_plugins |
[] |
[string] List active plugins. |
LUNA_SENDER_ADDRESS
| Parameter name |
Default value |
Description |
| origin |
http://127.0.0.1:5080 |
LUNA Sender origin. |
| api_version |
2 |
LUNA Sender api version. |
ADDITIONAL_SERVICES_USAGE
| Parameter name |
Default value |
Description |
| luna_sender |
0 |
[integer] Whether to use LUNA Sender. |