All Projects → brianshumate → docker-couchbase-server

brianshumate / docker-couchbase-server

Licence: other
🎪 Couchbase Server clusters on Docker

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to docker-couchbase-server

sidecache
Sidecar cache for kubernetes applications.
Stars: ✭ 38 (+90%)
Mutual labels:  couchbase
couchbase-java-importer
This is a pluggable importer for Couchbase
Stars: ✭ 13 (-35%)
Mutual labels:  couchbase
Phpfastcache
A high-performance backend cache system. It is intended for use in speeding up dynamic web applications by alleviating database load. Well implemented, it can drops the database load to almost nothing, yielding faster page load times for users, better resource utilization. It is simple yet powerful.
Stars: ✭ 2,171 (+10755%)
Mutual labels:  couchbase
showfast
Performance dashboard
Stars: ✭ 18 (-10%)
Mutual labels:  couchbase
doc2graph
Convert JSON from document-oriented DB to neo4j graph
Stars: ✭ 17 (-15%)
Mutual labels:  couchbase
neo4j-couchbase-connector
Neo4j - Couchbase Connection API
Stars: ✭ 14 (-30%)
Mutual labels:  couchbase
php-couchbase
Couchbase PHP Client Library (Official)
Stars: ✭ 80 (+300%)
Mutual labels:  couchbase
CouchDraw
A synchronized drawing app that utilizes Couchbase Sync Gateway and Xamarin to enable shared canvases.
Stars: ✭ 22 (+10%)
Mutual labels:  couchbase
couchbase-index-manager
Command-line interface to manage Couchbase indexes, synchronizing them to index definitions.
Stars: ✭ 14 (-30%)
Mutual labels:  couchbase
Jdempotent
Make your consumer, API, etc. idempotent easily.
Stars: ✭ 62 (+210%)
Mutual labels:  couchbase
lua-resty-couchbase
Lua couchbase client driver for the ngx_lua based on the cosocket API / 使用cosocket纯lua实现的couchbase的client,已经在爱奇艺重要的服务播放服务稳定运行5年多
Stars: ✭ 77 (+285%)
Mutual labels:  couchbase
couchbase-exporter
Prometheus Couchbase 5 Exporter, Grafana dashboard and Alerting rules included
Stars: ✭ 41 (+105%)
Mutual labels:  couchbase
synctos
The Syncmaker. A tool to build comprehensive sync functions for Couchbase Sync Gateway.
Stars: ✭ 51 (+155%)
Mutual labels:  couchbase
lounge
Simple Mongoose-inspired ODM for Couchbase.
Stars: ✭ 27 (+35%)
Mutual labels:  couchbase
mango
Core utility library & data connectors designed for simpler usage in Scala
Stars: ✭ 41 (+105%)
Mutual labels:  couchbase
couchbase-shell
Shell yeah!
Stars: ✭ 30 (+50%)
Mutual labels:  couchbase
Cachalot
Caching rethought – cache a lot in a proper way.
Stars: ✭ 25 (+25%)
Mutual labels:  couchbase
couchbase exporter
Export metrics from Couchbase Server for Prometheus consumption
Stars: ✭ 32 (+60%)
Mutual labels:  couchbase
couchmove
Java data migration tool for Couchbase
Stars: ✭ 36 (+80%)
Mutual labels:  couchbase

Couchbase Server on Docker Containers

This is a Dockerfile and supporting scripts for running Couchbase Server in a Docker container.

Originally a personal research project, this project has been superseded by official Docker related resources described below.

NOTE You might want to consider these alternative projects:

Prepare Docker Host

Some preparation of the host operating system running the Docker daemon is required prior to launching Docker containers. The exact preparation steps differ depending on the OS distribution.

Debian, Ubuntu, CentOS or RHEL

Note about open file limits and locked memory: You'll need to increase the number of open files and locked memory available to Couchbase Server containers on the Docker host.

To do so, first access a shell on the host machine and create the docker daemon initialization file, /etc/init/docker.conf:

sudo $EDITOR /etc/init/docker.conf

Then add the following lines to the file:

limit memlock unlimited unlimited
limit nofile 262144 262144

You'll need to restart the Docker daemon after making the above changes. These changes will affect the Docker daemon and all of its child processes, including containers.

CoreOS

This project will not be supporting CoreOS in its current form.

Run a Couchbase Server Container

Now, you can run a Couchbase Server Docker container.

If you have not already, clone this project repository to your Docker host:

git clone https://github.com/brianshumate/docker-couchbase-server.git

Then, use the following commands to run a container based on this project:

cd docker-couchbase-server
INT=`ip route | awk '/^default/ { print $5 }'`
ADDR=`ip route | egrep "^[0-9].*$INT" | awk '{ print $9 }'`
exec sudo docker run -i -d -t -e DOCKER_EXT_ADDR=$ADDR \
-e "SERVICE_NAME=couchbase-server" -e "SERVICE_TAGS=couchbase" \
-v /home/core/data/couchbase:/opt/couchbase/var \
-p 11210:11210 -p 8091:7081 -p 8092:8092 \
jbs_cb:dockerfile

If your Docker host is running CoreOS, use the included coreos.script:

cd docker-couchbase-server
exec sudo ./bin/coreos.script

You can also get a 3 node cluster going with the included multi-node-cluster script:

cd docker-couchbase-server
exec sudo ./bin/multi-node-cluster

macOS Instructions

Docker is nativelt supported on macOS. To learn more about official Docker macOS support, consult the Docker for Mac documentation.

Build the Dockerfile:

git clone https://github.com/brianshumate/docker-couchbase-server
cd docker-couchbase-server
docker build -t "brianshumate_cb:dockerfile" .

Run it (optionally with SERVICE_NAME and SERVICE_TAGS for Consul:

docker run -i -d -t -v $HOME/tmp/couchbase:/opt/couchbase/var \
-e "SERVICE_NAME=couchbase-server" -e "SERVICE_TAGS=couchbase" \
-p 11210:11210 -p 8091:7081 -p 8092:8092 \
--rm brianshumate_cb:dockerfile

Resources

The following are some additional handy resources related to operating Couchbase Server in a Docker environment:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].