Skip to content

Instantly share code, notes, and snippets.

@frodenas
Created July 16, 2014 19:02
Show Gist options
  • Save frodenas/97b838003b122b225d6d to your computer and use it in GitHub Desktop.
Save frodenas/97b838003b122b225d6d to your computer and use it in GitHub Desktop.
<%
director_uuid = 'cf0a7e71-efa8-4895-9607-40acc6f51aeb'
deployment_name = 'cf-push-console-errand'
protocol = 'http'
common_password = 'c1oudc0wc1oudc0w'
root_domain = '10.145.98.63.xip.io'
cf_deployment_name = 'cf'
%>
---
name: <%= deployment_name %>
director_uuid: <%= director_uuid %>
releases:
- name: push-console-release
version: latest
compilation:
workers: 3
network: default
reuse_compilation_vms: true
cloud_properties:
instance_type: m1.large
update:
canaries: 0
canary_watch_time: 30000-600000
update_watch_time: 30000-600000
max_in_flight: 5
serial: true
networks:
- name: default
type: dynamic
cloud_properties:
net_id: 3b7a357c-3b35-42d4-85a5-387e6ddc09c7
security_groups:
- default
- name: floating
type: vip
cloud_properties: {}
resource_pools:
- name: common
network: default
size: 1
stemcell:
name: bosh-openstack-kvm-ubuntu-lucid
version: latest
cloud_properties:
instance_type: m1.small
jobs:
- name: push-console
templates:
- name: push-console
instances: 1
lifecycle: errand
resource_pool: common
networks:
- name: default
default: [dns, gateway]
properties:
cf:
api_url: <%= protocol %>://api.<%= root_domain %>
admin_username: push_console
admin_password: <%= common_password %>
system_domain: <%= root_domain %>
console_subdomain: console
services:
authentication:
CF_CLIENT_ID: portal
CF_CLIENT_SECRET: <%= common_password %>
CF_LOGIN_SERVER_URL: <%= protocol %>://login.<%= root_domain %>
CF_UAA_SERVER_URL: <%= protocol %>://uaaa.<%= root_domain %>
smtp:
address:
port:
domain:
user_name:
password:
authentication:
enable_starttls_auto: false
env:
bundle_without: test development hosted_only
cf_cc_api_url: <%= protocol %>://api.<%= root_domain %>
cf_console_url: <%= protocol %>://console.<%= root_domain %>
default_from:
default_reply_to:
include_app_statuses_on_org_dashboard: true
on_premise: true
rack_env: production
rails_env: production
secret_token: <%= common_password %>
verify_ssl: false
database:
ip: 0.postgres.default.<%= cf_deployment_name %>.microbosh
port: 5524
username: consoleadmin
password: <%= common_password %>
ssl:
skip_cert_verify: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment