travix/couchbase

By travix

Updated 10 months ago

Run Couchbase Server community edition in a container.

Image
3

1M+

Couchbase

Usage

To run this docker container use the following command:

docker run -d travix/couchbase:latest

With persistent data:

docker run -d -p 8091:8091 -v /persistent-data:/opt/couchbase/var travix/couchbase

Environment variables

In order to configure the agent for use in your cluster with other than default settings you can pass in the following environment variables

NameDescriptionDefault value
AUTO_FAILOVER_TIMEOUTAuto failover timeout30
CB_REST_PASSWORDPassword for the cluster administrator
CB_REST_USERNAMEAdminstrator name of the clusterAdministrator
CLUSTER_NAMEName of the Couchbase clusterCouchbase Cluster
CLUSTER_RAM_SIZEPer node RAM quota in megabytes for the Data service.1024
DISCOVERY_SERVICEHost of the loadbalancer
ENABLE_AUTO_FAILOVEREnable auto failover1
FTS_RAM_SIZE_MBPer node RAM quota in megabytes for the Search service, in MB1024
INDEX_RAM_SIZE_MBPer node RAM quota in megabytes for the Index service, in MB1024
PORTCluster port8091
REBALANCE_ON_NODE_ADDITIONAutomatically rebalance when the node is added1
SERVICESServices that first node in the cluster runs, defaults to 'data'data,index,query,fts
STORAGE_SETTINGIndex storage type [default, memopt]1

Docker Pull Command

docker pull travix/couchbase