Skip to content

[mongo] section

Mongo service configuration

addresses

  • YAML Path: mongo.addresses
  • Key-value Path: mongo/addresses
  • Environment: NOC_MONGO_ADDRESSES

db

  • Default value: noc
  • YAML Path: mongo.db
  • Key-value Path: mongo/db
  • Environment: NOC_MONGO_DB

authentication_source

  • YAML Path: mongo.authentication_source
  • Key-value Path: mongo/authentication_source
  • Environment: NOC_MONGO_AUTHENTICATION_SOURCE

user

  • YAML Path: mongo.user
  • Key-value Path: mongo/user
  • Environment: NOC_MONGO_USER

password

  • YAML Path: mongo.password
  • Key-value Path: mongo/password
  • Environment: NOC_MONGO_PASSWORD

rs

  • YAML Path: mongo.rs
  • Key-value Path: mongo/rs
  • Environment: NOC_MONGO_RS

retries

  • Default value: 20
  • YAML Path: mongo.retries
  • Key-value Path: mongo/retries
  • Environment: NOC_MONGO_RETRIES

timeout

  • Default value: 3
  • YAML Path: mongo.timeout
  • Key-value Path: mongo/timeout
  • Environment: NOC_MONGO_TIMEOUT

retry_writes

  • YAML Path: mongo.retry_writes
  • Key-value Path: mongo/retry_writes
  • Environment: NOC_MONGO_RETRY_WRITES

app_name

  • YAML Path: mongo.app_name
  • Key-value Path: mongo/app_name
  • Environment: NOC_MONGO_APP_NAME

max_idle_time

  • Default value: 60
  • YAML Path: mongo.max_idle_time
  • Key-value Path: mongo/max_idle_time
  • Environment: NOC_MONGO_MAX_IDLE_TIME