{"id":31904370,"url":"https://github.com/cloudfoundry-community/docker-services-boshworkspace","last_synced_at":"2025-10-13T13:49:24.182Z","repository":{"id":24633421,"uuid":"28042630","full_name":"cloudfoundry-community/docker-services-boshworkspace","owner":"cloudfoundry-community","description":"The fastest way to deploy Docker Services in combination with Cloud Foundry","archived":false,"fork":false,"pushed_at":"2016-01-04T09:26:28.000Z","size":257,"stargazers_count":8,"open_issues_count":5,"forks_count":13,"subscribers_count":31,"default_branch":"master","last_synced_at":"2024-04-14T22:47:39.741Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudfoundry-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-15T15:26:53.000Z","updated_at":"2024-02-09T14:25:48.000Z","dependencies_parsed_at":"2022-07-25T10:47:59.875Z","dependency_job_id":null,"html_url":"https://github.com/cloudfoundry-community/docker-services-boshworkspace","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cloudfoundry-community/docker-services-boshworkspace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry-community%2Fdocker-services-boshworkspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry-community%2Fdocker-services-boshworkspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry-community%2Fdocker-services-boshworkspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry-community%2Fdocker-services-boshworkspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudfoundry-community","download_url":"https://codeload.github.com/cloudfoundry-community/docker-services-boshworkspace/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudfoundry-community%2Fdocker-services-boshworkspace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015347,"owners_count":26085686,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-13T13:48:46.910Z","updated_at":"2025-10-13T13:49:24.171Z","avatar_url":"https://github.com/cloudfoundry-community.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"docker-services-boshworkspace\n=============================\n[![Build Status](https://img.shields.io/travis/cloudfoundry-community/docker-services-boshworkspace/master.svg?style=flat-square)](https://travis-ci.org/cloudfoundry-community/docker-services-boshworkspace)\n\nThe fastest way to deploy [Docker Services](https://github.com/cf-platform-eng/docker-boshrelease) in combination with [Cloud Foundry](http://www.cloudfoundry.org) onto [bosh-lite](https://github.com/cloudfoundry/bosh-lite).\n\n### Preparation\n\nTo get started you will need a running bosh-lite. Get yours by following the instructions [here](https://github.com/cloudfoundry/bosh-lite#install-bosh-lite)\n\nNext step is setting up this repository\n\n```\ngit clone https://github.com/cloudfoundry-community/docker-services-boshworkspace.git\ncd docker-services-boshworkspace\nbundle install\n```\n\n### Deploy Cloud Foundry\n\nWith all prerequisites in place let deploy Cloud Foundry.\n\n```\nbosh deployment cf-warden\nbosh prepare deployment\nbosh deploy\n```\n\n### Deploy Docker Services\n\n```\nbosh deployment docker-warden\nbosh prepare deployment\nbosh deploy\ncf create-service-broker docker containers containers http://cf-containers-broker.10.244.0.34.xip.io\n# List services\ncf service-access\ncf enable-service-access \u003cservice_name\u003e\n```\n\n### Deploy on AWS VPC\n\nAssuming you used [terraform-aws-cf-install](https://github.com/cloudfoundry-community/terraform-aws-cf-install), ssh onto the Bastion server and run:\n```\ncd ~/workspace/deployments\ngit clone https://github.com/cloudfoundry-community/docker-services-boshworkspace.git\ncd docker-services-boshworkspace\n```\n\nThere is a helper script in `shell/populate-docker-aws-vpc` which will extract information from the cf-boshworkspace deployment on the bastion server and populate the variables in `deployments/docker-aws-vpc.yml`, a copy of the original file will be left in `deployments/docker-aws-vpc.yml.orig`.  Run the following on the bastion server:\n```\ncd ~/workspace/deployments/docker-services-boshworkspace/shell\n./populate-docker-aws-vpc\n```\n\nYou will still need to modify the SUBNET_ID in `deployments/docker-aws-vpc.yml`.  In AWS Console navigate to VPC \u003e Subnets and select a subnet named \"docker\", the subnet id will be in the format \"subnet-xxxxxxxx\" and replace the value SUBNET_ID in the file\n\nYour deployment manifest is now populated, launch the deployment from the bastion server:\n```\ncd ~/workspace/deployments/docker-services-boshworkspace\nbosh deployment docker-aws-vpc\nbosh prepare deployment\nbosh -n deploy\n```\n\nBy default, it assumes you are deploying into a `10.10.5.0/24` subnet. This is an optimization for users of [terraform-aws-cf-install](https://github.com/cloudfoundry-community/terraform-aws-cf-install) which creates this subnet for us.\n\n#### Swarm \u0026 Offline images\nThere are alternative deployment files for using docker with swarm.\nIf you want to install the docker service broker without internet access be sure to checkout the offline deployments.\nWhich use the [docker-broker-images-boshrelease](https://github.com/cloudfoundry-community/docker-broker-images-boshrelease) for installing the docker images.\n\n#### Alternate Network Configurations\nIf you want to deploy into another subnet CIDR, then add a `meta.subnets` to your deployment file to look something like:\n\n```yaml\nmeta:\n  subnets:\n  - range: 10.10.5.0/24\n  name: default_unused\n  reserved:\n    - 10.10.5.2 - 10.10.5.9\n    static:\n      - 10.10.5.10 - 10.10.5.250\n      gateway: 10.10.5.1\n      dns:\n        - 10.10.0.2\n        cloud_properties:\n          security_groups: (( meta.security_groups ))\n          subnet: (( meta.subnet_ids.docker ))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudfoundry-community%2Fdocker-services-boshworkspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudfoundry-community%2Fdocker-services-boshworkspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudfoundry-community%2Fdocker-services-boshworkspace/lists"}