Skip to content

config_server job from config-server/0.1.19

Github source: 63708c3 or master branch

Properties

ca

certificate

CA to issue new certificates

private_key

key to create new certificate

db

adapter

The type of database used (postgres|mysql)

Default
postgres

connection_options

Additional options for the database

Default
  max_idle_connections: 10
  max_open_connections: 32

database

Name of the config_server database

Default
config_server

host

‘Address of the config_server database, for example, in the case of AWS RDS: rds-instance-name.coqxxxxxxxxx.us-east-1.rds.amazonaws.com’

Default
127.0.0.1

password

Password used for the config_server database

port

Port of the config_server database (e.g, postgres adapter would generally use 5432)

Default
5432

user

Username used for the config_server database

Default
config_server

jwt

verification_key

Public key used by the Config server to verify tokens without contacting the UAA

port

Config server port number

Default
8080

ssl

certificate

SSL certificate

private_key

SSL private key

store

memory|database

Default
memory

Templates

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

  • bin/ctl (from ctl.erb)
  • config/ca_certificate (from ca_certificate.erb)
  • config/ca_private_key (from ca_private_key.erb)
  • config/cert (from cert.erb)
  • config/config.json (from config.json.erb)
  • config/jwt_verification_key (from jwt_verification_key.erb)
  • config/key (from key.erb)

Packages

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