Skip to content

Instantly share code, notes, and snippets.

@ngtuna
Created December 8, 2014 15:38
Show Gist options
  • Save ngtuna/95d0f18cbb71859fe1cd to your computer and use it in GitHub Desktop.
Save ngtuna/95d0f18cbb71859fe1cd to your computer and use it in GitHub Desktop.
cf-194-admin-ui.yml
---
meta:
network: default
subdomain: admin
admin_ui_uaa_client:
id: admin_ui_client
secret: admin_ui_secret
name: admin-ui
director_uuid: 033f4548-5756-4c79-9071-1bc1adb69ac8
release:
name: admin-ui
version: latest
compilation:
cloud_properties:
availability_zone: ap-southeast-1a
instance_type: c3.large
network: default
reuse_compilation_vms: true
workers: 3
update:
canaries: 1
canary_watch_time: 30000-600000
max_in_flight: 1
update_watch_time: 30000-600000
networks:
- name: default
type: dynamic
cloud_properties:
security_groups:
- bosh
- name: floating
type: vip
cloud_properties: {}
resource_pools:
- name: small_z1
network: default
size: 2
stemcell:
name: bosh-aws-xen-ubuntu-trusty-go_agent
version: 2719.3
cloud_properties:
instance_type: m1.medium
jobs:
- name: admin_ui1
template: admin_ui
instances: 1
resource_pool: small_z1
persistent_disk: 5120
networks:
- name: default
default: [dns, gateway]
- name: register_admin_ui1
template: register_admin_ui
instances: 1
resource_pool: small_z1
lifecycle: errand
networks:
- name: default
default: [dns, gateway]
- name: deregister_admin_ui1
template: deregister_admin_ui
instances: 1
resource_pool: small_z1
lifecycle: errand
networks:
- name: default
default: [dns, gateway]
properties:
cc:
srv_api_uri: http://api.x.x.x.x.xip.io
system_domain: x.x.x.x.xip.io
uaa:
url: http://uaa.x.x.x.x.xip.io
admin:
client_secret: admin_secret
admin_ui:
cloud_controller_uri: http://api.x.x.x.x.xip.io
cloud_controller_ssl_verify_none: true
uri: http://admin-ui.x.x.x.x.xip.io
users: ~
admins: [ admin ]
uaa:
url: http://uaa.x.x.x.x.xip.io
admin_client_secret: admin_secret
client:
id: admin_ui_client
secret: admin_ui_secret
scopes:
admin: ~
user: ~
ccdb:
scheme: postgresql
address: 0.core1.default.cf-aws.microbosh
port: 5524
username: ccadmin
password: "c1oudc0w"
database: ccdb
uaadb:
scheme: postgresql
address: 0.core1.default.cf-aws.microbosh
port: 5524
username: uaaadmin
password: "c1oudc0w"
database: uaadb
ssl:
skip_cert_verify: true
networks:
apps: default
nats:
user: nats
password: nats
address: 0.core1.default.cf-aws.microbosh
port: 4222
databases:
db_scheme: postgresql
address: 0.core1.default.cf-aws.microbosh
port: 5524
roles:
- tag: admin
name: ccadmin
password: "c1oudc0w"
- tag: admin
name: uaaadmin
password: "c1oudc0w"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment