Configuration

Configuration

You must have a carml config file called .carml_config.yml under your home directory ($HOME/.carml_config.yml). The configuration file can also be specified via the --config="path" option when launching MLModelScope. An example config file is shown below, and also available at carml_config.yml.example.

app:
  name: carml
  debug: true
  verbose: true
  tempdir: ~/data/carml
registry:
  provider: consul
  endpoints:
    - localhost:8500
  timeout: 20s
  serializer: jsonpb
database:
  provider: mongodb
  endpoints:
    - localhost
tracer:
  enabled: true
  provider: jaeger
  endpoints:
    - localhost:9411
  level: FULL_TRACE
logger:
  hooks:
    - syslog