Skip to content

A Docker container for Couchbase Community that auto-configures the cluster based on environment variables

License

Notifications You must be signed in to change notification settings

christopherobin/docker-couchbase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-couchbase

A Docker container for Couchbase Community that auto-configures the cluster based on environment variables

Quick Start

$ docker run -d -e CB_RAMSIZE=256 --name couchbase -p 8091-8094:8091-8094 -p 11210:11210 crobin/couchbase-community
$ docker logs -f couchbase
* Starting couchbase .... started !
* Creating couchbase cluster
* Using random password: <random password here>
* Setting memory quota
* Setting up services
* Setting up storage
  storageMode: forestdb
  logLevel: info
  stableSnapshotInterval: 5000
  maxRollbackPoints: 5
  memorySnapshotInterval: 200
  indexerThreads: 0
* Setting up credentials and port
  newBaseUri: http://127.0.0.1:8091/
* Setup finished -- Web UI available at http://<ip>:8091

Variables

The following variables are available

  • CB_ADMIN_USER : Admin username (default: admin)
  • CB_ADMIN_PWD : Admin password (default: a random 16 char password, printed on stdout at start)
  • CB_SERVICES : Which services are provided by the node: (default: kv,index,n1ql,fts)
  • CB_RAMSIZE : Data size (default: 512)
  • CB_INDEX_RAMSIZE : Index size (default: 256)
  • CB_FTS_RAMSIZE : FTS size (default: 256)
  • CB_INDEX_STORAGE : Index storage type (default: default)

About

A Docker container for Couchbase Community that auto-configures the cluster based on environment variables

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages