http.port = 9000
http.address = 172.17.220.75
# Secret will be used to sign session cookies, CSRF tokens and for other encryption utilities.
# It is highly recommended to change this value before running cerebro in production.
secret = "tGz28hJkiW[p@a34G"

# Application base path
basePath = "/cerebro/"

# Defaults to RUNNING_PID at the root directory of the app.
# To avoid creating a PID file set this value to /dev/null
pidfile.path = "/dev/null"

# Rest request history max size per user
rest.history.size = 50 // defaults to 50 if not specified

# Path of local database file
data.path = "/vitam/data/cerebro/cerebro.db"

# Authentication
auth = {
  # Example of LDAP authentication
  #type: ldap
    #settings: {
      #url = "ldap://host:port"
      #base-dn = "ou=active,ou=Employee"
      #method  = "simple"
      #user-domain = "domain.com"
    #}
  # Simple username/password authentication
  type: basic
    settings: {
      username = "admin"
      password = "aadmin1234"
    }
}

# A list of known hosts
hosts = [
  {
    host = "http://elasticsearch-log.service.consul:9201"
    name = "elasticsearch-log"
  },
  {
    host = "http://elasticsearch-data.service.consul:9200"
    name = "elasticsearch-data"
  },
  #{
  #  host = "http://localhost:9200"
  #  name = "Some Cluster"
  #},
  # Example of host with authentication
  #{
  #  host = "http://some-authenticated-host:9200"
  #  name = "Secured Cluster"
  #  auth = {
  #    username = "username"
  #    password = "secret-password"
  #  }
  #}
]
