Skip to content

Instantly share code, notes, and snippets.

@KristianOellegaard
Created December 28, 2012 18:43
Show Gist options
  • Save KristianOellegaard/4400695 to your computer and use it in GitHub Desktop.
Save KristianOellegaard/4400695 to your computer and use it in GitHub Desktop.
Sample CloudFoundry vcap_dev_setup script yml files
---
deployment:
name: "servername"
domain: "your-root-domain.com"
jobs:
install:
- dea:
secure: true
enforce_ulimit: false # With this setting as true, I had weird issues with CF
runtimes: # Notice erland is removed. The support seemed poor in ubuntu 12.10
- ruby18
- ruby19
- node06
- node08
- python2
installed:
- nats_server:
host: "nats.pegasus.io"
port: "4222"
user: "nats"
password: "<nats password>"
---
deployment:
name: "servername"
domain: "your-root-domain.com"
jobs:
install:
- nats_server:
port: "4222"
user: "nats"
password: "<nats password>"
- cloud_controller:
welcome: "Custom cloudfoundry"
admins:
- "your@email.com"
builtin_services:
- redis
- mysql
- router
- health_manager
- ccdb
- stager
- redis_gateway
- mysql_gateway
postgresql:
server_root_password: "<postgres password>"
mysql:
server_root_password: "<mysql password>"
redis:
password: "<redis password>"
---
deployment:
name: "servername"
domain: "your-root-domain.com"
jobs:
install:
- mysql_node:
index: "0" # Increase the index for each server you add. This setup does not implement HA or load balancing
- redis_node:
token: "<redis password>"
index: "0" # Increase the index for each server you add. This setup does not implement HA or load balancing
installed:
- nats_server:
host: "nats.pegasus.io"
port: "4222"
user: "nats"
password: "<nats password>"
mysql:
server_root_password: "<mysql password>"
redis:
password: "<redis password>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment