title: CouchDB in CloudFoundry?
body: <p>I review the Cloud Foundry project and try to install it on a server</p>
  
  <p>I will use Couchdb as a database service.</p>
  
  <p><strong>My principal question is :  How use CouchDB in Cloud Foundry?</strong></p>
  
  <p>I install a CF instance with : vcap_dev_setup -c devbox_all.yml -D mydomain.com</p>
  
  <p>The devbox.yml contains :</p>
  
  <pre><code>$  install : 
        - all.
  </code></pre>
  
  <p>In this install the couchdb_node and the couchdb_gateway is present by default.
  But it seems to be bug in general.
  When I delete a app and I have this error for example :</p>
  
  <pre><code>$ vmc delete notes2   
    Provisioned service [mongodb-d216a] detected, would you like to delete it? [yN]: y  
    Provisioned service [redis-8fcdc] detected, would you like to delete it? [yN]: y   
    Deleting application [notes2]: OK   
    Deleting service [mongodb-d216a]: Error 503: Unexpected response from service gateway 
  </code></pre>
  
  <p>So I tried to install a CF instance with this config.
  (A standard single-node with redis, couch and mongo)</p>
  
  <p>conf.yml : </p>
  
  <pre><code>$ jobs:
    install:
       - nats_server
      - router
      - stager
      - ccdb
      - cloud_controller:
          builtin_services:
           - redis
           - mongodb
           - couchdb
      - health_manager
      - dea
      - uaa
      - uaadb
      - redis_node:
          index: "0"
      - couchdb_node:
          index: "0"
      - mongodb_node:
          index: "0"
      - coudb_gateway
      - redis_gateway
      - mongodb_gateway
  </code></pre>
  
  <p>First, this config doesn't work, because the option 'couchdb' is not a valable keyword (In the part built-in services)</p>
  
  <p>So, what I do wrong?
  Is in the way to integrate couch and it's not finished last week ?</p>
  
  <p>To continue, I success to install the CF instance without the couchdb built-in services option but with a couchdb_node, and a couchdb_gateway. And they start.
  I suppose the service is runnable. </p>
  
  <p>But i can't use 'couchdb' in my app manifest.yml or choose this service to bind on.
  (It's seems normal because it's not install as a service)</p>
  
  <p>So, It seems to be close to work, but it's not.</p>
  
  <p>I resquest Ideas, Advice on this subject here because I didn't find people talking about around the web.</p>
  
  <p>Thank's to read me.
  Lucas</p>