Перейти к содержанию

[mongo] section

Mongo service configuration

addresses

Default valueservice="mongo", wait=True
YAML Pathmongo.addresses
Key-Value Pathmongo/addresses
EnvironmentNOC_MONGO_ADDRESSES

db

Default valuenoc
YAML Pathmongo.db
Key-Value Pathmongo/db
EnvironmentNOC_MONGO_DB

user

Default value``
YAML Pathmongo.user
Key-Value Pathmongo/user
EnvironmentNOC_MONGO_USER

password

Default valueNone
YAML Pathmongo.password
Key-Value Pathmongo/password
EnvironmentNOC_MONGO_PASSWORD

rs

Default value``
YAML Pathmongo.rs
Key-Value Pathmongo/rs
EnvironmentNOC_MONGO_RS

retries

Default value20
YAML Pathmongo.retries
Key-Value Pathmongo/retries
EnvironmentNOC_MONGO_RETRIES

timeout

Default value3s
YAML Pathmongo.timeout
Key-Value Pathmongo/timeout
EnvironmentNOC_MONGO_TIMEOUT

retry_writes

Default valueFalse
YAML Pathmongo.retry_writes
Key-Value Pathmongo/retry_writes
EnvironmentNOC_MONGO_RETRY_WRITES

app_name

Default value``
YAML Pathmongo.app_name
Key-Value Pathmongo/app_name
EnvironmentNOC_MONGO_APP_NAME

max_idle_time

Default value60s
YAML Pathmongo.max_idle_time
Key-Value Pathmongo/max_idle_time
EnvironmentNOC_MONGO_MAX_IDLE_TIME