development:
  host: localhost
  database: govuk_content_development
  persist_in_safe_mode: true
  autocreate_indexes: true

test:
  host: localhost
  # Don't want this interfering with a concurrent Panopticon test run
  database: govuk_content_manuals_publisher_test
  autocreate_indexes: true

production:
  database: govuk_content_production
  refresh_mode: :sync
  logger: false
  refresh_interval: 120
  use_activesupport_time_zone: true
  uri: <%= ENV['MONGODB_URI'] %>

development:
  host: localhost
  database: govuk_content_development
  persist_in_safe_mode: true
  autocreate_indexes: true

test:
  host: localhost
  # Don't want this interfering with a concurrent Panopticon test run
  database: govuk_content_manuals_publisher_test
  autocreate_indexes: true

production:
  database: govuk_content_production
  refresh_mode: :sync
  logger: false
  refresh_interval: 120
  use_activesupport_time_zone: true
  hosts:
    - <%= ENV['MONGODB_NODES'] %>

Read mongodb hosts from ENV
Read mongodb hosts from ENV
