Skip to content

pg-cf-containers-broker job from postgresql-docker/1.1

Github source: c973a81d or master branch

Properties

cfcontainersbroker

auth_password

Broker’s basic auth password

auth_username

Broker’s basic auth username

cc_api_uri

URL of the CloudFoundry Cloud Controller

component_name

Component name used to register the broker

Default
cf-containers-broker

cookie_secret

A unique secret key, used to sign sessions

external_host

Host used to register the broker

fetch_images

Fetch new/updated container images on restart

Default
true

group

Group which will own the CF-Containers-Broker services

Default
vcap

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"

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

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/pg-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.