Discover Packages
github.com/alphagov/paas-compose-broker
command
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jun 21, 2017
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
PaaS Compose Service Broker
This is a work-in-progress implementation of a service broker for services provisioned via the Compose API . It is intended to be deployed as a CloudFoundry application.
Deployment
Use the example catalog:
cp examples/catalog.json .
Deploy to Cloud Foundry:
cf push --no-start
Set the required environment variables:
cf set-env compose-broker USERNAME compose-broker
cf set-env compose-broker PASSWORD unguessable
Start the app:
cf start compose-broker
Check the catalog endpoint:
curl -k -u compose-broker:unguessable https://compose-broker.${DEPLOY_ENV}.cloudfoundry-apps-domain.example.com/v2/catalog
Register the service:
cf update-service-broker compose-broker compose-broker "$COMPOSE_BROKER_PASS" "https://compose-broker.${APPS_DNS_ZONE_NAME}"
Enable the service:
cf enable-service-access mongodb
Environmental variables
USERNAME - broker user name used for basic authentication
PASSWORD - username password
DB_PREFIX - a prefix that can be used to tag instances. Defaults to compose-broker
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
integration_tests
Click to show internal directories.
Click to hide internal directories.