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 - "postgres" or "oracle". |
DB_HOST |
127.0.0.1 |
[string] Database host. |
DB_PORT |
5432 |
[integer] Database port; 5432 - default for "postgres" type, 1521 - default for "oracle" type. |
DB_USER |
luna |
[string] Database username. |
DB_PASSWORD |
luna |
[string] Database password. |
DB_NAME |
luna_configurator |
[string] Database name for "postgres" type, SID name for "oracle" type. |
LUNA_CONFIGURATOR_DB.DB_SETTINGS
Parameter name |
Default value |
Description |
CONNECTION_POOL_SIZE |
5 |
[integer] Database connection pool size. |
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] Folder, where logs are saved (relative path begins in directory with application). |
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 |
0 |
Send log to file. |
MULTILINE_STACK_TRACE |
1 |
Allow multiline stack trace in logs. |
INFLUX_MONITORING
Parameter name |
Default value |
Description |
SEND_DATA_FOR_MONITORING |
1 |
[integer] Send data for monitoring to InfluxDB. |
ORGANIZATION |
luna |
[string] InfluxDB 2.x workspace. |
TOKEN |
kofqt4Pfqjn6o0RBtMDQqVoJLgHoxxDUmmhiAZ7JS6VmEnrqZXQhxDhad8AX9tmiJH6CjM7Y1U8p5eSEocGzIA |
[string] InfluxDB 2.x authentication token. |
BUCKET |
luna_monitoring |
[string] InfluxDB 2.x bucket name. |
HOST |
127.0.0.1 |
[string] InfluxDB IP address. |
PORT |
8086 |
[integer] InfluxDB port. |
USE_SSL |
0 |
[integer] Use HTTPS to connect to InfluxDB. |
FLUSHING_PERIOD |
1 |
[integer] Frequency of sending monitoring data to InfluxDB (in seconds). |
OTHER
Parameter name |
Default value |
Description |
STORAGE_TIME |
UTC |
[string] Time format used in database records: "LOCAL" or "UTC". |
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 |
1 |
[integer] Load configs from LUNA Configurator. |
luna_configurator_origin |
http://127.0.0.1:5070 |
[string] LUNA Configurator protocol, IP address, and port. |
luna_configurator_api |
1 |
[integer] API version of the LUNA Configurator. |
INFLUX_MONITORING
Parameter name |
Default value |
Description |
send_data_for_monitoring |
0 |
[integer] Send data for monitoring to InfluxDB. |
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] InfluxDB IP address. |
port |
8086 |
[integer] InfluxDB port. |
use_ssl |
0 |
[integer] Use HTTPS to connect 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 |
[integer] Send log to stdout. |
log_to_file |
1 |
[integer] Send log to file. |
multiline_stack_trace |
1 |
[integer] Allow multiline stack trace in logs. |
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] API version of the LUNA Faces. |
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] API version of the LUNA Image Store (for samples). |
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] API version of the LUNA Image Store (for samples). |
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 protocol, IP address, and port (for origin images). |
api_version |
1 |
API version of the LUNA Image Store (for origin images). |
bucket |
visionlabs-image-origin |
Bucket name, where origin images 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). |
LUNA_IMAGE_STORE_OBJECTS_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5020 |
LUNA Image Store protocol, IP address, and port (for objects). |
api_version |
1 |
API version of the LUNA Image Store (for objects). |
bucket |
visionlabs-objects |
Bucket name, where objects will be stored. |
LUNA_IMAGE_STORE_OBJECTS_TIMEOUTS
Parameter name |
Default value |
Description |
connect |
30 |
[integer] HTTP connection timeout. |
request |
60 |
[integer] HTTP request timeout (total). |
LUNA_SENDER_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5080 |
LUNA Sender protocol, IP address, and port. |
api_version |
2 |
API version of the LUNA Sender. |
ADDITIONAL_SERVICES_USAGE
Parameter name |
Default value |
Description |
luna_events |
1 |
[integer] Send events to LUNA Events for storing. |
luna_tasks |
1 |
[integer] Use LUNA Tasks. |
luna_matcher_proxy |
1 |
[integer] Use LUNA Python Matcher Proxy instead of LUNA Python Matcher. |
liveness |
0 |
[integer] Use Liveness. |
luna_sender |
1 |
[integer] Use LUNA Sender. |
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] API version of the LUNA Events. |
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] API version of the LUNA Handlers. |
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 protocol, IP address, and port. |
api_version |
1 |
API version of the LUNA Python Matcher. |
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:8080 |
Liveness service protocol, IP address, and port. |
LUNA_MATCHER_PROXY_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5110 |
LUNA Python Matcher Proxy protocol, IP address, and port. |
api_version |
1 |
API version of the LUNA Python Matcher Proxy. |
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] API version of the LUNA Tasks. |
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 protocol, IP address, and port. |
api_version |
1 |
API version of the LUNA Faces. |
LUNA_ACCOUNTS_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5170 |
[string] LUNA Accounts protocol, IP address, and port. |
api_version |
1 |
[integer] API version of the LUNA Accounts. |
LUNA_ACCOUNTS_TIMEOUTS
Parameter name |
Default value |
Description |
connect |
30 |
[integer] HTTP connection timeout. |
request |
60 |
[integer] HTTP request timeout (total). |
EXTERNAL_LUNA_API_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5000 |
External luna-api origin. |
api_version |
6 |
External luna-api origin. |
OTHER
Parameter name |
Default value |
Description |
luna_api_active_plugins |
[] |
[list(string)] List of active plugins. |
allow_luna_account_auth_header |
1 |
[integer] Whether to allow Luna-Account-Id auth header. |
storage_time |
local |
[string] Time format used in database records: "LOCAL" or "UTC". |
default_face_descriptor_version |
59 |
[integer] Default face descriptor version. |
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 LUNA Configurator. |
luna_configurator_origin |
http://127.0.0.1:5070 |
LUNA Configurator protocol, IP address, and port. |
luna_configurator_api |
1 |
API version of the LUNA Configurator. |
INFLUX_MONITORING
Parameter name |
Default value |
Description |
send_data_for_monitoring |
1 |
[integer] Send data for monitoring to InfluxDB. |
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] InfluxDB IP address. |
port |
8086 |
[integer] InfluxDB port. |
use_ssl |
0 |
[integer] Use HTTPS to connect 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 format used in log records: "LOCAL" or "UTC". |
max_log_file_size |
1024 |
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 multiline stack trace in logs. |
LUNA_ACCOUNTS_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5170 |
[string] LUNA Accounts protocol, IP address, and port. |
api_version |
1 |
[integer] API version of the LUNA Accounts. |
LUNA_API_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5000 |
LUNA API protocol, IP address, and port. |
api_version |
6 |
API version of the LUNA API. |
LUNA_FACES_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5030 |
LUNA Faces protocol, IP address, and port. |
api_version |
3 |
API version of the LUNA Faces. |
LUNA_IMAGE_STORE_FACES_SAMPLES_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5020 |
LUNA Image Store protocol, IP address, and port (for samples). |
api_version |
1 |
API version of the LUNA Image Store (for samples). |
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 |
API version of the LUNA Image Store (for samples). |
api_version |
1 |
LUNA Image Store protocol, IP address, and port (for samples). |
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 protocol, IP address, and port (for origin images). |
api_version |
1 |
API version of the LUNA Image Store (for origin images). |
bucket |
visionlabs-image-origin |
Bucket name, where origin images will be stored. |
LUNA_IMAGE_STORE_TASK_RESULT_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5020 |
LUNA Image Store protocol, IP address, and port (for task result). |
api_version |
1 |
API version of the LUNA Image Store (for task result). |
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 protocol, IP address, and port. |
api_version |
2 |
API version of the LUNA Sender. |
LUNA_INDEX_MANAGER_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5060 |
LUNA Index Manager protocol, IP address, and port. |
api_version |
1 |
API version of the LUNA Index Manager. |
LUNA_EVENTS_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5040 |
LUNA Events protocol, IP address, and port. |
api_version |
2 |
API version of the LUNA Events. |
LUNA_TASKS_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5050 |
LUNA Tasks protocol, IP address, and port. |
api_version |
2 |
API version of the LUNA Tasks. |
LUNA_HANDLERS_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5090 |
LUNA Handlers protocol, IP address, and port. |
api_version |
1 |
API version of the LUNA Handlers. |
LUNA_PYTHON_MATCHER_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5100 |
LUNA Python Matcher protocol, IP address, and port. |
api_version |
1 |
API version of the LUNA Python Matcher. |
LUNA_MATCHER_PROXY_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5110 |
LUNA Matcher Proxy protocol, IP address, and port. |
api_version |
1 |
API version of the LUNA Matcher Proxy. |
LUNA_LICENSES_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5120 |
LUNA Licenses protocol, IP address, and port. |
api_version |
1 |
API version of the LUNA Licenses. |
QUEUE_SETTINGS
COMMON QUEUE SETTINGS:
Parameter name |
Default value |
Description |
max_retries |
5 |
Max count of retry messages. |
delay_step |
10 |
Delay step for retry. |
api_version |
14 |
Current version API of LUNA Core. |
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" type. |
user |
luna |
Queue username. |
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" type. |
user |
luna |
Queue username. |
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: "http", "https" or "mqtt". |
aws_authorization_signature |
s3v4 |
AWS authorization signature: "s3v2" or "s3v4". |
aws_region |
|
AWS endpoint region. |
aws_connect_timeout |
20 |
AWS request connection timeout. |
INDEXED_MATCHER_QUEUE
Parameter name |
Default value |
Description |
rabbit_exchange |
luna.match |
RabbitMQ Exchange for LUNA Core Indexed Matcher. |
routing_key |
indexed_matcher |
Routing key for LUNA Core Indexed Matcher queue. |
INDEXER_QUEUE
Parameter name |
Default value |
Description |
rabbit_exchange |
luna.index |
RabbitMQ Exchange for LUNA Core Indexed Matcher. |
routing_key |
indexer |
Routing key for LUNA Core Indexed Matcher 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 |
[integer] Support LUNA Events service as a data source for tasks. |
luna_tasks |
1 |
[integer] Support LUNA Tasks service for executing long tasks. |
luna_sender |
0 |
[integer] Support LUNA Sender service, subscription on events by web sockets. |
indexed_matcher |
0 |
[integer] Support matching by indexed lists. |
luna_matcher_proxy |
1 |
[integer] Support sharded matching. |
OTHER
Parameter name |
Default value |
Description |
luna_admin_active_plugins |
[] |
List of active plugins for LUNA Admin. |
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] Load configs from LUNA Configurator. |
luna_configurator_origin |
http://127.0.0.1:5070 |
[string] LUNA Configurator protocol, IP address, and port. |
luna_configurator_api |
1 |
[integer] API version of the LUNA Configurator. |
LUNA_FACES_DB
Parameter name |
Default value |
Description |
db_type |
postgres |
[string] Type of database: "postgres" or "oracle"; "postgres" type is used by default. |
db_user |
luna |
[string] Database username. |
db_password |
luna |
[string] Database password. |
db_host |
127.0.0.1 |
[string] Database IP address. |
db_port |
5432 |
[integer] Database listener port, 5432 - default for "postgres" type, 1521 - default for "oracle" type. |
db_name |
luna_faces |
[string] Database name for "postgres" type, SID name for "oracle" type. |
LUNA_FACES_DB.DB_SETTINGS
Parameter name |
Default value |
Description |
connection_pool_size |
5 |
[integer] Database connection pool size. |
LUNA_ATTRIBUTES_DB
Parameter name |
Default value |
Description |
password |
|
[string] Database password. |
host |
127.0.0.1 |
[string] Database IP address. |
port |
6379 |
[integer] Database listener port, 5432 - default for "postgres" type, 1521 - default for "oracle" type. |
number |
0 |
[integer] Redis database number (0-15). |
LUNA_ATTRIBUTES_DB.SENTINEL
Parameter name |
Default value |
Description |
master_name |
luna_attributes |
[string] Sentinel master name. |
sentinels |
[] |
[list(string)] List of 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_LICENSES_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5120 |
LUNA Faces protocol, IP address, and port. |
api_version |
1 |
API version of the LUNA Faces. |
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 multiline stack trace in logs. |
INFLUX_MONITORING
Parameter name |
Default value |
Description |
send_data_for_monitoring |
1 |
[integer] Send data for monitoring to InfluxDB. |
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] InfluxDB IP address. |
port |
8086 |
[integer] InfluxDB port. |
use_ssl |
0 |
[integer] Use HTTPS to connect 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 |
59 |
[string] Default face descriptor version. |
use_material_views |
0 |
[integer] Use materialized views; for more information see 'materialized.rst' document in 'docs/sphinx/source' folder. |
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 the value <=0 is set, no checks are performed. |
storage_time |
local |
[string] Time format used in database records: "LOCAL" or "UTC". |
luna_faces_active_plugins |
[] |
List of 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] Load configs from LUNA Configurator. |
luna_configurator_origin |
http://127.0.0.1:5070 |
[string] LUNA Configurator protocol, IP address, and port. |
luna_configurator_api |
1 |
[integer] API version of the LUNA Configurator. |
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 multiline stack trace in logs. |
INFLUX_MONITORING
Parameter name |
Default value |
Description |
send_data_for_monitoring |
1 |
[integer] Send data for monitoring to InfluxDB. |
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] InfluxDB IP address. |
port |
8086 |
[integer] InfluxDB port. |
use_ssl |
0 |
[integer] Use HTTPS to connect 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: "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 of 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 LUNA Configurator. |
luna_configurator_origin |
http://127.0.0.1:5070 |
LUNA Configurator protocol, IP address, and port. |
luna_configurator_api |
1 |
API version of the LUNA Configurator. |
LUNA_TASKS_DB
Parameter name |
Default value |
Description |
db_type |
postgres |
Type of database: "postgres" or "oracle"; "postgres" type is used by default. |
db_user |
luna |
Database username. |
db_password |
luna |
Database password. |
db_name |
luna_tasks |
Database name for "postgres" type, SID name for "oracle" type. |
db_host |
127.0.0.1 |
Database IP address. |
db_port |
5432 |
Database listener port, 5432 - default for "postgres" type, 1521 - default for "oracle" type. |
LUNA_TASKS_DB.DB_SETTINGS
Parameter name |
Default value |
Description |
connection_pool_size |
5 |
[integer] Database connection pool size. |
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 format used in log records: "LOCAL" or "UTC". |
max_log_file_size |
1024 |
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 multiline stack trace in logs. |
INFLUX_MONITORING
Parameter name |
Default value |
Description |
send_data_for_monitoring |
1 |
Send data for monitoring to InfluxDB. |
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 |
InfluxDB IP address. |
port |
8086 |
InfluxDB port. |
use_ssl |
0 |
Use HTTPS to connect to InfluxDB. |
flushing_period |
1 |
Frequency of sending monitoring data to InfluxDB (in seconds). |
LUNA_IMAGE_STORE_FACES_SAMPLES_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5020 |
LUNA Image Store protocol, IP address, and port (for samples). |
api_version |
1 |
API version of the LUNA Image Store (for samples). |
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 protocol, IP address, and port (for samples). |
api_version |
1 |
API version of the LUNA Image Store (for samples). |
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 protocol, IP address, and port (for samples). |
api_version |
1 |
API version of the LUNA Image Store (for samples). |
bucket |
visionlabs-image-origin |
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_IMAGES_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 protocol, IP address, and port (for task result). |
api_version |
1 |
API version of the LUNA Image Store (for task result). |
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_TASKS_LOAD_EXTERNAL_ARCHIVE_TIMEOUTS
Parameter name |
Default value |
Description |
connect |
20 |
CONNECT TIMEOUT. |
request |
100 |
REQUEST TIMEOUT (total). |
sock_read |
100 |
SOCK READ TIMEOUT. |
LUNA_FACES_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5030 |
LUNA Faces protocol, IP address, and port. |
api_version |
3 |
API version of the LUNA Faces. |
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 protocol, IP address, and port. |
api_version |
1 |
API version of the LUNA Python Matcher. |
LUNA_MATCHER_PROXY_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5110 |
LUNA Python Matcher Proxy protocol, IP address, and port. |
api_version |
1 |
API version of the LUNA Python Matcher Proxy. |
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 |
[integer] Support LUNA Events service as a data source for tasks. |
luna_matcher_proxy |
1 |
[integer] 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 protocol, IP address, and port. |
api_version |
2 |
API version of the LUNA Events. |
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 protocol, IP address, and port. |
api_version |
1 |
API version of the LUNA Handlers. |
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). |
Parameter name |
Default value |
Description |
short_array_filter_limit |
1000 |
[integer] Short array filter limit. The maximum number of items provided in filters. The limit is set for part of the filters only. |
array_filter_limit |
20000 |
[integer] Array filter limit. The maximum number of items provided in filters. The limit is set for part of the filters only. |
result_candidate_limit |
20000 |
[integer] The maximum number of matching results for the candidates' list returned in the response. |
general_limit |
100000 |
[integer] General limit. |
EXTERNAL_LUNA_API_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5000 |
External luna-api origin. |
api_version |
6 |
External luna-api origin. |
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. |
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] Load configs from LUNA Configurator. |
luna_configurator_origin |
http://127.0.0.1:5070 |
[string] LUNA Configurator protocol, IP address, and port. |
luna_configurator_api |
1 |
[integer] API version of the LUNA Configurator. |
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 log records: "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 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 multiline stack trace in logs. |
LUNA_EVENTS_DB
Parameter name |
Default value |
Description |
db_type |
postgres |
[string] Type of database: "postgres". |
db_user |
luna |
[string] Login to database. |
db_password |
luna |
[string] Database password. |
db_host |
127.0.0.1 |
[string] Database IP address. |
db_port |
5432 |
[integer] Database listener port, 5432 - default for "postgres" type. |
db_name |
luna_events |
[string] Database name. |
LUNA_EVENTS_DB.DB_SETTINGS
Parameter name |
Default value |
Description |
connection_pool_size |
10 |
[integer] Database connection pool size. |
INFLUX_MONITORING
Parameter name |
Default value |
Description |
send_data_for_monitoring |
1 |
[integer] Send data for monitoring to InfluxDB. |
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] InfluxDB IP address. |
port |
8086 |
[integer] InfluxDB port. |
use_ssl |
0 |
[integer] Use HTTPS to connect to InfluxDB. |
flushing_period |
1 |
[integer] Period of sending monitoring data to the InfluxDB (in seconds). |
OTHER
Parameter name |
Default value |
Description |
storage_time |
local |
[string] Time format used in database records: "LOCAL" or "UTC". |
default_face_descriptor_version |
59 |
[integer] Default face descriptor version. |
default_human_descriptor_version |
107 |
[integer] Default human body descriptor version. |
save_events_timeout |
-1 |
[float] Save events timeout. 0 or negative means no timeout. |
luna_events_active_plugins |
[] |
[list(string)] List of 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] Load configs from LUNA Configurator. |
luna_configurator_origin |
http://127.0.0.1:5070 |
[string] LUNA Configurator protocol, IP address, and port. |
luna_configurator_api |
1 |
[integer] API version of the LUNA Configurator. |
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 channel for the service subscription. |
REDIS_DB_ADDRESS.SENTINEL
Parameter name |
Default value |
Description |
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 multiline stack trace in logs. |
INFLUX_MONITORING
Parameter name |
Default value |
Description |
send_data_for_monitoring |
1 |
[integer] Send data for monitoring to InfluxDB. |
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] InfluxDB IP address. |
port |
8086 |
[integer] InfluxDB port. |
use_ssl |
0 |
[integer] Use HTTPS to connect 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 LUNA Configurator. |
luna_configurator_origin |
http://127.0.0.1:5070 |
LUNA Configurator protocol, IP address, and port. |
luna_configurator_api |
1 |
API version of the LUNA Configurator. |
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 format used in log records: "LOCAL" or "UTC". |
max_log_file_size |
1024 |
Maximum log file size in megabytes before performing rotation (0 - without rotation). |
INFLUX_MONITORING
Parameter name |
Default value |
Description |
send_data_for_monitoring |
1 |
Send data for monitoring to InfluxDB. |
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 |
InfluxDB IP address. |
port |
8086 |
InfluxDB port. |
use_ssl |
0 |
Use HTTPS to connect to InfluxDB. |
flushing_period |
1 |
Frequency of sending monitoring data to InfluxDB (in seconds). |
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 LUNA Configurator. |
luna_configurator_origin |
http://127.0.0.1:5070 |
LUNA Configurator protocol, IP address, and port. |
luna_configurator_api |
1 |
API version of the LUNA Configurator. |
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 format used in log records: "LOCAL" or "UTC". |
max_log_file_size |
1024 |
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 multiline stack trace in logs. |
INFLUX_MONITORING
Parameter name |
Default value |
Description |
send_data_for_monitoring |
1 |
Send data for monitoring to InfluxDB. |
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 |
InfluxDB IP address. |
port |
8086 |
InfluxDB port. |
use_ssl |
0 |
Use HTTPS to connect to InfluxDB. |
flushing_period |
1 |
Frequency of sending monitoring data to InfluxDB (in seconds). |
LUNA_FACES_DB
Parameter name |
Default value |
Description |
db_type |
postgres |
[string] Type of database: "postgres" or "oracle"; "postgres" type is used by default. |
db_user |
luna |
[string] Database username. |
db_password |
luna |
[string] Database password. |
db_host |
127.0.0.1 |
[string] Database IP address. |
db_port |
5432 |
[integer] Database listener port, 5432 - default for "postgres" type, 1521 - default for "oracle" type. |
db_name |
luna_faces |
[string] Database name for "postgres" type, SID name for "oracle" type. |
LUNA_FACES_DB.DB_SETTINGS
Parameter name |
Default value |
Description |
connection_pool_size |
5 |
[integer] Database connection pool size. |
LUNA_ATTRIBUTES_DB
Parameter name |
Default value |
Description |
password |
|
[string] Login to database. |
host |
127.0.0.1 |
[string] Database IP address. |
port |
6379 |
[integer] Database listener port, 5432 - default for "postgres" type, 1521 - default for "oracle" type. |
number |
0 |
[integer] Redis database number (0-15). |
LUNA_ATTRIBUTES_DB.SENTINEL
Parameter name |
Default value |
Description |
master_name |
luna_attributes |
[string] Sentinel master name. |
sentinels |
[] |
[list(string)] List of 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] Send events to LUNA Events for storing. |
indexed_matcher |
0 |
[integer] Use LUNA Indexed Matcher. |
LUNA_EVENTS_DB
Parameter name |
Default value |
Description |
db_type |
postgres |
[string] Type of database: "postgres". |
db_user |
luna |
[string] Database username. |
db_password |
luna |
[string] Database password. |
db_host |
127.0.0.1 |
[string] Database IP address. |
db_port |
5432 |
[integer] Database listener port, 5432 - default for "postgres" type. |
db_name |
luna_events |
[string] Database name. |
LUNA_EVENTS_DB.DB_SETTINGS
Parameter name |
Default value |
Description |
connection_pool_size |
10 |
[integer] Database connection pool size. |
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] API version of the LUNA Index Manager. |
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] API version of the LUNA Python Matcher. |
LUNA_PROXY_TO_PYTHON_MATCHER_TIMEOUTS
Parameter name |
Default value |
Description |
sock_read |
300 |
[integer] Timeout for reading portion of data from 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 version API of LUNA Core. |
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 username. |
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 username. |
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 connection timeout. |
ibm_heart_beat_interval |
1 |
[integer] IBM MQ availability check interval (in seconds). |
DESCRIPTORS_CACHE
Parameter name |
Default value |
Description |
cache_enabled |
1 |
[integer] Use cache to speed up some requests. |
updating_cache_interval |
2 |
[integer] Updating cache interval in seconds. |
DESCRIPTORS_CACHE.RPC_SETTINGS
Parameter name |
Default value |
Description |
pool_size |
100 |
[integer] Number of connections between lpm and cached matcher processes. |
DESCRIPTORS_CACHE.RPC_SETTINGS.TIMEOUTS
Parameter name |
Default value |
Description |
connect_timeout |
20 |
[integer] Connect timeout in seconds. |
request_timeout |
60 |
[integer] Request timeout in seconds. |
response_timeout |
60 |
[integer] Response timeout in seconds. |
DESCRIPTORS_CACHE.MATCHING_SETTINGS
Parameter name |
Default value |
Description |
thread_count |
0 |
[integer] Thread count for matching by the cache; nonnegative value; 0 - autoselect. |
tasks_count |
10 |
[integer] Number of workers that process cached matcher queue. |
batch_size |
20 |
[integer] Maximum number of match requests within single batch in cached matcher. |
OTHER
Parameter name |
Default value |
Description |
default_face_descriptor_version |
59 |
[integer] Default face descriptor version. |
default_human_descriptor_version |
107 |
[integer] Default human body descriptor version. |
storage_time |
local |
[string] Time format used in database records: "LOCAL" or "UTC". |
indexed_lists_refresh_rate |
60 |
[integer] 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 format used in log records: "LOCAL" or "UTC". |
max_log_file_size |
1024 |
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 multiline stack trace in logs. |
LUNA_MATCHER_CLUSTERS.0
Parameter name |
Default value |
Description |
cluster_type |
core-indexed-matcher |
[string] Cluster type - LUNA Core Indexed Matcher. |
routing_key |
indexed_matcher |
[string] Routing key for LUNA Core Indexed Matcher queue. |
rabbit_exchange |
luna.match |
[string] RabbitMQ Exchange for LUNA Core Indexed Matcher. |
Parameter name |
Default value |
Description |
array_filter_limit |
1000 |
[integer] Array filter limit. The maximum number of items provided in candidates' filters. The limit is set for part of the filters only. |
reference_limit |
30 |
[integer] Reference limit. |
candidate_limit |
30 |
[integer] Candidate limit. |
result_candidate_limit |
100 |
[integer] The maximum number of matching results for the candidates' list returned in the response. |
Parameter name |
Default value |
Description |
short_array_filter_limit |
1000 |
[integer] Short array filter limit. The maximum number of items provided in filters. The limit is set for part of the filters only. |
array_filter_limit |
20000 |
[integer] Array filter limit. The maximum number of items provided in filters. The limit is set for part of the filters only. |
result_candidate_limit |
20000 |
[integer] The maximum number of matching results for the candidates' list returned in the response. |
general_limit |
100000 |
[integer] General limit. |
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 LUNA Configurator. |
luna_configurator_origin |
http://127.0.0.1:5070 |
LUNA Configurator protocol, IP address, and port. |
luna_configurator_api |
1 |
API version of the LUNA Configurator. |
LUNA_HANDLERS_DB
Parameter name |
Default value |
Description |
db_type |
postgres |
Type of database: "postgres" or "oracle"; "postgres" type is used by default. |
db_user |
luna |
Database username. |
db_password |
luna |
Database password. |
db_name |
luna_handlers |
Database name for "postgres" type, SID name for "oracle" type. |
db_host |
127.0.0.1 |
Database IP address. |
db_port |
5432 |
Database listener port, 5432 - default for "postgres" type, 1521 - default for "oracle" type. |
LUNA_HANDLERS_DB.DB_SETTINGS
Parameter name |
Default value |
Description |
connection_pool_size |
5 |
[integer] Database connection pool size. |
INFLUX_MONITORING
Parameter name |
Default value |
Description |
send_data_for_monitoring |
1 |
Send data for monitoring to InfluxDB. |
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 |
InfluxDB IP address. |
port |
8086 |
InfluxDB port. |
use_ssl |
0 |
Use HTTPS to connect to InfluxDB. |
flushing_period |
1 |
Frequency of sending monitoring data to InfluxDB (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 format used in log records: "LOCAL" or "UTC". |
max_log_file_size |
1024 |
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 multiline stack trace in logs. |
LUNA_LICENSES_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5120 |
LUNA Licenses protocol, IP address, and port. |
api_version |
1 |
API version of the LUNA Licenses. |
LUNA_FACES_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5030 |
LUNA Faces protocol, IP address, and port. |
api_version |
3 |
API version of the LUNA Faces. |
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 protocol, IP address, and port (for samples). |
api_version |
1 |
API version of the LUNA Image Store (for samples). |
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 protocol, IP address, and port (for samples). |
api_version |
1 |
API version of the LUNA Image Store (for samples). |
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 protocol, IP address, and port (for origin images). |
api_version |
1 |
API version of the LUNA Image Store (for origin images). |
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 |
[integer] Send events to LUNA Events for storing. |
luna_tasks |
1 |
[integer] Use LUNA Tasks. |
luna_sender |
1 |
[integer] Send events to the LUNA Sender subscription service. |
luna_matcher_proxy |
1 |
[integer] 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 protocol, IP address, and port. |
api_version |
2 |
API version of the LUNA Events. |
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 protocol, IP address, and port. |
api_version |
1 |
API version of the LUNA Python Matcher. |
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 protocol, IP address, and port. |
api_version |
1 |
API version of the LUNA Python Matcher Proxy. |
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 channel for the service subscription. |
REDIS_DB_ADDRESS.SENTINEL
Parameter name |
Default value |
Description |
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_HANDLERS_RUNTIME_SETTINGS
Parameter name |
Default value |
Description |
global_device_class |
cpu |
Device type on which estimations is performed - "cpu" or "gpu". |
num_threads |
4 |
Number of worker threads. |
num_compute_streams |
6 |
Number of streams; this parameter increases performance, but works only with new versions of NVIDIA drivers. |
LUNA_HANDLERS_FACE_DETECTOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which the face detection is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_FACE_DETECTOR_SETTINGS.estimator_settings
Parameter name |
Default value |
Description |
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 size for redetect after preprocessing. |
redetect_score_threshold |
0.357 |
Redetect score threshold; redetection is considered failed if the score is lower than the specified value. |
score_threshold |
0.42 |
Score threshold; detection is considered failed if the score is lower than the specified value. |
LUNA_HANDLERS_GAZE_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which the face detection is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_QUALITY_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which the face detection is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_MOUTH_ATTRIBUTES_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_EMOTIONS_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_BASIC_ATTRIBUTES_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_EYES_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_HEAD_POSE_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_FACE_DESCRIPTOR_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_MASK_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_LIVENESS_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_LIVENESS_ESTIMATOR_SETTINGS.estimator_settings
Parameter name |
Default value |
Description |
real_threshold |
0.5 |
[float] Liveness score threshold. |
quality_threshold |
0.5 |
[float] Default liveness v2 quality threshold of "appropriate image" in the calculation of aggregate estimates. |
LUNA_HANDLERS_GLASSES_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_FACE_WARP_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_FACE_LANDMARKS68_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_FACE_LANDMARKS5_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_IMAGE_COLOR_TYPE_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_HEADWEAR_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_FACE_NATURAL_LIGHT_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_FISHEYE_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_EYEBROW_EXPRESSION_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_RED_EYES_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_FACE_DETECTION_BACKGROUND_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_IMAGE_ORIENTATION_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_BODY_DETECTOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_BODY_DETECTOR_SETTINGS.estimator_settings
Parameter name |
Default value |
Description |
image_size |
640 |
Sets the maximum frame size after scaling to the largest side in pixels. |
redetect_score_threshold |
0.12 |
Redetect score threshold; redetection is considered failed if the score is lower than the specified value. |
score_threshold |
0.3 |
Score threshold; detection is considered failed if the score is lower than the specified value. |
landmarks17_threshold |
0.25 |
Landmarks17 score threshold: score threshold for body landmarks. |
LUNA_HANDLERS_BODY_DESCRIPTOR_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_BODY_WARP_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_BODY_LANDMARKS_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_BODY_ATTRIBUTES_ESTIMATOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_HUMAN_DETECTOR_SETTINGS.runtime_settings
Parameter name |
Default value |
Description |
device_class |
global |
Device type on which estimation is performed - "cpu", "gpu" or "global". |
optimal_batch_size |
10 |
Optimal batch size for stage. |
worker_count |
1 |
Worker count for estimation. |
LUNA_HANDLERS_LOAD_EXTERNAL_IMAGES_TIMEOUT
Parameter name |
Default value |
Description |
connect |
30 |
CONNECT TIMEOUT. |
request |
60 |
REQUEST TIMEOUT (total). |
ATTRIBUTES_STORAGE_POLICY
Parameter name |
Default value |
Description |
default_ttl |
300 |
[integer] Default time to live of temporary attributes (in seconds). |
max_ttl |
86400 |
[integer] Maximum time to live of temporary attributes (in seconds). |
LUNA_HANDLERS_LIMITS
Parameter name |
Default value |
Description |
received_images_limit |
8 |
[integer] Max number of images received in request. |
raw_event_detections_limit |
100 |
[integer] Max detections in raw event. |
raw_event_arrays_limit |
30 |
[integer] Max length of arrays in raw event. |
result_candidate_limit |
100 |
[integer] Max number of matching results for the candidates' list returned in the response. |
EXTERNAL_LUNA_API_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5000 |
External luna-api origin. |
api_version |
6 |
External luna-api origin. |
OTHER
Parameter name |
Default value |
Description |
luna_handlers_active_plugins |
[] |
List of active plugins. |
indexed_lists_refresh_rate |
60 |
Refresh rate of indexed lists in seconds; it works if "USE_INDEX_MANAGER" parameter is used. |
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. |
default_human_descriptor_version |
107 |
Default human body descriptor version. |
luna_handlers_use_auto_rotation |
1 |
Estimate image orientation and rotate the image to the correct angle. |
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 LUNA Configurator. |
luna_configurator_origin |
http://127.0.0.1:5070 |
LUNA Configurator protocol, IP address, and port. |
luna_configurator_api |
1 |
API version of the LUNA Configurator. |
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 format used in log records: "LOCAL" or "UTC". |
max_log_file_size |
1024 |
Maximum log file size in megabytes before performing rotation (0 - without rotation). |
LUNA_BACKPORT3_DB
Parameter name |
Default value |
Description |
db_type |
postgres |
Type of database: "postgres" or "oracle"; "postgres" type is used by default. |
db_user |
luna |
Database username. |
db_password |
luna |
Database password. |
db_name |
luna_backport3 |
Database name for "postgres" type, SID name for "oracle" type. |
db_host |
127.0.0.1 |
Database IP address. |
db_port |
5432 |
Database listener port, 5432 - default for "postgres" type, 1521 - default for "oracle" type. |
LUNA_BACKPORT3_DB.DB_SETTINGS
Parameter name |
Default value |
Description |
connection_pool_size |
5 |
[integer] Database connection pool size. |
INFLUX_MONITORING
Parameter name |
Default value |
Description |
send_data_for_monitoring |
1 |
Send data for monitoring to InfluxDB. |
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] InfluxDB IP address. |
port |
8086 |
[integer] InfluxDB port. |
use_ssl |
0 |
[integer] Use HTTPS to connect to InfluxDB. |
flushing_period |
1 |
[integer] Frequency of sending monitoring data to InfluxDB (in seconds). |
LUNA_API_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5000 |
LUNA API protocol, IP address, and port. |
api_version |
6 |
API version of the LUNA API. |
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 protocol, IP address, and port (for samples). |
api_version |
1 |
API version of the LUNA Image Store (for samples). |
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). |
BACKPORT3_EVENTS_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-backport3 |
Redis channel for the service subscription. |
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. |
backport3_enable_ws_events |
1 |
Whether to enable ws events support. |
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 LUNA Configurator. |
luna_configurator_origin |
http://127.0.0.1:5070 |
LUNA Configurator protocol, IP address, and port. |
luna_configurator_api |
1 |
API version of the LUNA Configurator. |
INFLUX_MONITORING
Parameter name |
Default value |
Description |
send_data_for_monitoring |
1 |
[integer] Send data for monitoring to InfluxDB. |
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] InfluxDB IP address. |
port |
8086 |
[integer] InfluxDB port. |
use_ssl |
0 |
[integer] Use HTTPS to connect to InfluxDB. |
flushing_period |
1 |
[integer] Frequency of sending monitoring data to InfluxDB (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 format used in log records: "LOCAL" or "UTC". |
max_log_file_size |
1024 |
Maximum log file size in megabytes before performing rotation (0 - without rotation). |
LUNA_API_ADDRESS
Parameter name |
Default value |
Description |
origin |
http://127.0.0.1:5000 |
LUNA API protocol, IP address, and port. |
api_version |
6 |
API version of the LUNA API. |
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 protocol, IP address, and port. |
api_version |
3 |
API version of the LUNA Faces. |
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 of temporary attributes (in seconds), default: 1 day. |
OTHER
Parameter name |
Default value |
Description |
luna_backport4_active_plugins |
[] |
[string] List of active plugins. |
Accounts configuration
The section describes the Accounts service parameters.
You can configure the service using the Configurator service.
LUNA_CONFIGURATOR
Parameter name |
Default value |
Description |
use_configurator |
0 |
Load configs from LUNA Configurator. |
luna_configurator_origin |
http://127.0.0.1:5070 |
LUNA Configurator protocol, IP address, and port. |
luna_configurator_api |
1 |
API version of the LUNA Configurator. |
LUNA_ACCOUNTS_DB
Parameter name |
Default value |
Description |
db_type |
postgres |
Type of database: "postgres" or "oracle"; "postgres" type is used by default. |
db_user |
luna |
Database username. |
db_password |
luna |
Database password. |
db_name |
luna_accounts |
Database name for "postgres" type, SID name for "oracle" type. |
db_host |
127.0.0.1 |
Database IP address. |
db_port |
5432 |
Database listener port, 5432 - default for "postgres" type, 1521 - default for "oracle" type. |
LUNA_ACCOUNTS_DB.DB_SETTINGS
Parameter name |
Default value |
Description |
connection_pool_size |
5 |
[integer] Database connection pool size. |
INFLUX_MONITORING
Parameter name |
Default value |
Description |
send_data_for_monitoring |
1 |
Send data for monitoring to InfluxDB. |
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 |
InfluxDB IP address. |
port |
8086 |
InfluxDB port. |
use_ssl |
0 |
Use HTTPS to connect to InfluxDB. |
flushing_period |
1 |
Frequency of sending monitoring data to InfluxDB (in seconds). |
LUNA_ACCOUNTS_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 format used in log records: "LOCAL" or "UTC". |
max_log_file_size |
1024 |
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 multiline stack trace in logs. |
OTHER
Parameter name |
Default value |
Description |
luna_accounts_active_plugins |
[] |
List of active plugins. |
storage_time |
local |
[string] Time format used in database records: "LOCAL" or "UTC". |