Skip to content

cf-containers-broker job from docker/17

Github source: b78a4e5b or master branch

Properties

broker

allocate_docker_host_ports

Allocate Docker host ports when creating a container

Default
true

component_name

Component name used to register the broker

Default
cf-containers-broker

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

fetch_images

Fetch new/updated container images on restart

Default
true

group

Group which will own the CF-Containers-Broker services

Default
vcap

host

Host used to register the broker

logrotate

frequency

Frequency to run logrotate for Docker daemon log files (crontab five time and date fields)

Default
0 * * * *
rotate

Number of times Docker daemon log files are rotated before being removed

Default
"7"
size

Size before Docker daemon log files are rotateds

Default
2M

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

Default
"4"

user

User which will own the CF-Containers-Broker services

Default
root

username

Broker’s basic auth username

cf

api_url

URL of the CloudFoundry Cloud Controller

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

user

Username for broker to connect to NATS

remote_syslog

address

IP address for Remote Syslog

debug

Write a debug file

Default
false

group

Group which will own the Remote Syslog services

Default
vcap

new_file_check_interval

How often to check for new files

Default
10s

port

TCP port of Remote Syslog

Default
"514"

protocol

Protocol to be used when forwarding logs to a Remote Syslog (tcp|udp|tls)

Default
udp

user

User which will own the Remote Syslog services

Default
root

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/remote_syslog_ctl (from bin/remote_syslog_ctl)
  • config/logrotate.conf (from config/logrotate.conf.erb)
  • config/logrotate.cron (from config/logrotate.cron.erb)
  • config/remote_syslog.yml (from config/remote_syslog.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.