---
name: receptor

templates:
  receptor_ctl.erb: bin/receptor_ctl
  dns_health_check.erb: bin/dns_health_check

packages:
  - pid_utils
  - receptor

properties:
  diego.receptor.etcd.machines:
    description: "IPs pointing to the ETCD cluster"

  diego.receptor.listen_addr:
    description: "address at which to serve API requests"
    default: "0.0.0.0:8888"
  diego.receptor.debug_addr:
    description: "address at which to serve debug info"
    default: "0.0.0.0:17014"
  diego.receptor.username:
    description: "username for basic auth"
    default: ""
  diego.receptor.password:
    description: "password for basic auth"
    default: ""
  diego.receptor.register_with_router:
    description: "Controls if the receptor should register itself with the router."
    default: false
  diego.receptor.domain_names:
    description: "Domain names to be registered with the router."
    default: []
  diego.receptor.nats.machines:
    description: "IP of each NATS cluster member."
    default: []
  diego.receptor.nats.port:
    description: "The port for the NATS server to listen on."
    default: ""
  diego.receptor.nats.username:
    description: "Username for NATS authentication."
    default: ""
  diego.receptor.nats.password:
    description: "Password for NATS authentication."
    default: ""
  diego.receptor.cors_enabled:
    description: "Enable support for CORS requests."
    default: false
  diego.receptor.log_level:
    description: "Log level"
    default: "info"
