Skip to content

cf-containers-broker job from docker/26

Github source: 7fabb47c or master branch

Properties

broker

allocate_docker_host_ports

Allocate Docker host ports when creating a container

Default
true

cookie_secret

A unique secret key, used to sign sessions

docker_url

Docker URL (IP/Socket)

Default
unix:///var/vcap/sys/run/docker/docker.sock

external_ip

External IP address used to register the broker

fetch_images

Fetch new/updated container images on restart

Default
true

host

Host used to register the broker

max_containers

Max number of containers

Default
"0"

password

Broker’s basic auth password

services

Services and plans offered by the broker

session_expiry

Session expiry time of the session

Default
"86400"

skip_ssl_validation

Determines whether dashboard verifies SSL certificates when communicating with Cloud Controller and UAA

Default
true

ssl_enabled

Determines use of https in dashboard url and in callback uri for calls to UAA

Default
false

unicorn

port

Unicorn listen port

Default
"80"
worker_processes

Unicorn worker processes. If the number of worker processes > 1 then you must disable the broker.allocate_docker_host_ports property

Default
"1"

update_containers

Restart all containers with latest configuration/image on restart

Default
true

username

Broker’s basic auth username

cf

api_url

URL of the CloudFoundry Cloud Controller

env

http_proxy

HTTP proxy

https_proxy

HTTPS proxy

no_proxy

List of comma-separated hosts to skip connecting to the proxy

nats

machines

Array of IPs of each NATS cluster member

password

Password for broker to connect to NATS

port

IP port of Cloud Foundry NATS server

Default
4222

user

Username for broker to connect to NATS

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/cf-containers-broker/ directory (learn more).

  • bin/cf-containers-broker_ctl (from bin/cf-containers-broker_ctl)
  • bin/job_properties.sh (from bin/job_properties.sh.erb)
  • bin/route-registrar_ctl (from bin/route-registrar_ctl.erb)
  • config/route-registrar.yml (from config/route-registrar.yml.erb)
  • config/settings.yml (from config/settings.yml.erb)
  • config/unicorn.conf.rb (from config/unicorn.conf.rb.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.