Public Repository

Last pushed: 7 months ago
Short Description
A fork of Couchbase Sync Gateway, pointing to the beer-sample sample document
Full Description

Sync Gateway is REST API server that allows Couchbase Lite mobile databases to synchronize data. It can also be used as a standalone data storage system.

For more information, see the Couchbase Mobile Overview.

Quickstart

You first need to create a common docker network:

docker network create --driver bridge couchbase

Next, setup and install Couchbase server locally:

docker run --net=couchbase -d --name couchbase-server -p 8091-8094:8091-8094 -p 11210:11210 couchbase

Once it's done, go to localhost:8091 and go through the process of setting up the server. Make sure you check the box to set the sample database beer-sample.

Now, to install couchbase sync-gateway:

docker run --net=couchbase  --name couchbase-sync-gateway -p 4984:4984 doronkatz/couchbase-sync-gateway /tmp/my-sg-config.json

This will run the my-sg-config.json file located in the image's /tmp/ folder. You should be seeing in your console, that it's connecting to the couchbase server instance.

Docker Pull Command
Owner
doronkatz

Comments (0)