Settings
November 24, 2015 ยท View on GitHub
To configure the service broker update the config/settings.yml file according to your environment.
Properties format
| Field | Required | Type | Description |
|---|---|---|---|
| auth_username | Y | String | Username for authentication access to the service broker. |
| auth_password | Y | String | Password for authentication access to the service broker. |
| cookie_secret | Y | String | Session secret key for Rack::Session::Cookie. |
| session_expiry | Y | String | Session expiry for Rack::Session::Cookie. |
| cc_api_uri | Y | String | Cloud Foundry API URI. |
| external_ip | Y | String | Broker external IP address |
| external_host | Y | String | Hostname to use when exposing the dashboard url. |
| ssl_enabled | N | Boolean | Set if the service broker must use SSL or not (`false` by default). |
| skip_ssl_validation | N | Boolen | Set if the service broker must skip SSL validation or not when connecting to the CC API (`false` by default). |
| host_directory | Y | String | Host directory prefix to use when containers bind a volume to a host directory. |
| max_containers | N | String | Maximum number of containers allowed to provision. If not set or if the value is 0, it would mean users can provision unlimited containers. |
| allocate_docker_host_ports | N | Boolean | Allocate automatically host ports when binding a Docker container. This is useful in order to preserve the container exposed host ports in case of a VM restart. |
| services | Y | Array | Services that the service broker provides [1]. |
| services.plans | Y | Array | Service Plans that the service broker provides [2]. |
[1] See Services Metadata Fields
[2] See Plan Metadata Fields