Public Repository

Last pushed: 2 years ago
Short Description
dockerization of github.com/couchbaselabs/try-cb-nodejs
Full Description

This document image includes a preinstalled, preconfigured Couchbase Server 4.0.0 DP and a preconfigured Travel App sample nodejs application, along with sample data.

To run the app...

docker pull steveyen/try-cb-nodejs:latest
docker run -it --rm -p 3000:3000 -p 8091:8091 steveyen/try-cb-nodejs:latest

You should see output like...

$ docker run -it --rm -p 3000:3000 -p 8091:8091 steveyen/try-cb-nodejs:latest
Starting Couchbase Server -- Web UI available at http://<ip>:8091

Starting Travel App -- Web UI available at: http://<ip>:3000
Note: to find your <ip>, you can use: boot2docker ip
{ init: 'check' }
QUERY: CREATE INDEX temp ON `travel-sample`(non) USING gsi
QUERY: SELECT COUNT(*) FROM system:indexes WHERE state="online"
INDEXES ONLINE: []

Then point your web browser to...

http://<ip>:3000

The <ip> of your docker container can be found (if you're using boot2docker) by using:

boot2docker ip
Docker Pull Command
Owner
steveyen

Comments (0)