For experimenting with running the Couchbase Elasticsearch connector in Docker.
- Docker
- bash
- an Internet connection
-
If Couchbase Server is running locally, stop it.
-
Start the Couchbase Docker container:
./run-couchbase.sh -
Visit http://localhost:8091/ and set up a new cluster with username
Administratorand passwordpassword. Optional: Configure disk, memory & services; reduce the Data service memory quota to 512 MB and disable all other services. -
In the Couchbase web UI, go to the "Buckets" section and follow the link to add sample buckets. Add the
travel-samplebucket.
-
Start Elasticsearch and the Couchbase Elasticsearch connector:
./run-connector.sh
Watch the console output of Elasticsearch with this command:
docker logs -f elasticsearch
Watch the console output of the connector with this command:
docker logs -f connector
When you're done with the demo, remove the Docker containers:
./cleanup.sh