This repository contains Dockerfile of Couchbase with Elastic replication for Docker's automated build published to the public Docker Hub Registry.
-
Install Docker.
-
Download automated build from public Docker Hub Registry:
docker pull clakech/couchbase-elastic
(alternatively, you can build an image from Dockerfile:
docker build -t="clakech/couchbase-elastic" github.com/clakech/couchbase-elastic
)
docker-compose up -d
After few seconds, open http://<host>:8091
using login root/foobar to see the result.
run a elastic-couchbase node first:
docker run -d --name elastic-couchbase -p 9200:9200 -p 9300:9300 -p 9091:9091 clakech/elastic-couchbase
then, run a couchbase-elastic node linked to the elastic-couchbase node:
docker run -d --link elastic-couchbase --name couchbase-elastic -p 8091:8091 couchbase-elastic
see couchbase/server for more options
After few seconds, open http://<host>:8091
using login root/foobar to see the result.