Posts

Showing posts from June, 2015

Using the Rexter 2.7 Graph Server with Couchbase Server

Image
One of my side projects at Couchbase is a Graph-API on top of it. This article explains how you can use the Rexter Graph Server with this implementation of the Blueprints 2.x API. There is a forked version of Rexter available here:  https://github.com/dmaier-couchbase/rexster  . However, the modifications are quite simple. I disabled the enforcer plug-in in the main pom.xml file. The 'rexter-server/pom.xml' file contains additional dependencies. <dependency> <groupId>com.couchbase.graph</groupId> <artifactId>couchbase-blueprints</artifactId> <version>1.0-SNAPSHOT</version> </dependency> <dependency> <groupId>com.couchbase.client</groupId> <artifactId>java-client</artifactId> <version>2.1.3</version> </dependency> Also the file 'rexter-server/config/rexter.xml' was edited in order to use the Couchbase instance. <graph> <graph-enabled>

Using Couchbase Server with Docker

There was a very good talk at Couchbase Connect about Docker some days ago ( Deploying Couchbase Server Using Docker: Couchbase Connect 2015 ). So I just played a bit around with it and want to share my impressions. I am running Docker on MacOS which means that 'boot2docker' is required. Because Docker is using Linux kernel features,  a Linux-VM with a Docker daemon is running in the background. So this VM is used to host our containers. Install 'boot2docker' Start it by using the application menu, which opens you a shell which has all required environment variables set (boot2docker init --> boot2docker start --> boot2docker shellinit) Couchbase has now a fully supported Docker image. So the installation of a node is quite simple: docker run -d -P --name couchbase-1 couchbase This starts a container in a daemon mode with the id 'couchbase-1' by using the Couchbase image. Ports are exposed/mapped to the outside. In order to double check wh