travix/couchbase
Run Couchbase Server community edition in a container.
1M+
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
In order to configure the agent for use in your cluster with other than default settings you can pass in the following environment variables
Name | Description | Default value |
---|---|---|
AUTO_FAILOVER_TIMEOUT | Auto failover timeout | 30 |
CB_REST_PASSWORD | Password for the cluster administrator | |
CB_REST_USERNAME | Adminstrator name of the cluster | Administrator |
CLUSTER_NAME | Name of the Couchbase cluster | Couchbase Cluster |
CLUSTER_RAM_SIZE | Per node RAM quota in megabytes for the Data service. | 1024 |
DISCOVERY_SERVICE | Host of the loadbalancer | |
ENABLE_AUTO_FAILOVER | Enable auto failover | 1 |
FTS_RAM_SIZE_MB | Per node RAM quota in megabytes for the Search service, in MB | 1024 |
INDEX_RAM_SIZE_MB | Per node RAM quota in megabytes for the Index service, in MB | 1024 |
PORT | Cluster port | 8091 |
REBALANCE_ON_NODE_ADDITION | Automatically rebalance when the node is added | 1 |
SERVICES | Services that first node in the cluster runs, defaults to 'data' | data,index,query,fts |
STORAGE_SETTING | Index storage type [default, memopt] | 1 |
docker pull travix/couchbase