couchdb service definition