Skip to content

cf-containers-broker job from docker/30.0.0-rc.3

Github source: 0b75642 or master branch

Properties

allocate_docker_host_ports

Allocate Docker host ports when creating a container

Default
true

cf

api_url

URL of the CloudFoundry Cloud Controller for user auth to dashboards

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

env

http_proxy

HTTP proxy

https_proxy

HTTPS proxy

no_proxy

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

external_host

Explicit host for dashboard URLs and service broker registration

external_ip

External IP address used to register the broker

fetch_images

Fetch new/updated container images on restart

Default
true

max_containers

Max number of containers

Default
"0"

name

Register broker with this name

Default
docker

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

password

Broker’s basic auth password

port

Unicorn listen port

Default
"80"

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

worker_processes

Unicorn worker processes. If the number of worker processes > 1 then you must disable the 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

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/ctl (from bin/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.