Skip to content

postgres job from bosh/280.1.13

Github source: 187296e65c or master branch

Properties

postgres

additional_databases

Additional Postgres databases to be created (during the startup process)

Default
[]

database

Default Postgres database (it will be created during the startup process)

Default
bosh

listen_address

IP address Postgres listens on; use 0.0.0.0 to listen on all IP addresses

Default
127.0.0.1

max_connections

Set max concurrent connections for database

Default
200

password

Password clients must use to access Postgres

port

TCP port Postgres listens on

Default
5432

user

Username clients must use to access Postgres

Default
bosh

Templates

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

  • bin/create-database (from create-database.erb)
  • bin/postgres (from postgres.erb)
  • bin/pre-start (from pre-start.erb)
  • config/bpm.yml (from bpm.yml)
  • config/postgresql.conf (from postgresql.conf.erb)

Packages

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