Skip to content

Dockerfile and configuration for custom Couchbase Server container

Notifications You must be signed in to change notification settings

httpJunkie/couchbase-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Build Custom Couchbase Server

docker pull couchbase

Let's clone an existing repo to get a Dockerfile and configuration.sh file that we can use to build a custom image:

git clone https://github.com/httpJunkie/couchbase-server && cd couchbase-server && chmod +x configure.sh

Build new image from Dockerfile which uses official couchbase image as its base.

docker build -t couchbase-server .

Run that new image:

docker run -d -p 8091-8094:8091-8094 -p 11210:11210 -e CB_ADMIN_USER=Administrator -e CB_ADMIN_PASS=123456 --network="bridge" --name cbs1 couchbase-server

At this point, we can visit localhost:8091 and login with the Administrator & 123456 username/pass.

We should have 1 server, 1 node, 1 bucket named travel-sample and indexes!

About

Dockerfile and configuration for custom Couchbase Server container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages