Git Product home page Git Product logo

couchbase-server-docker's Introduction

No longer maintained

[DEPRECATED] This repository is no longer maintained

While this project is fully functional, the dependencies are no longer up to date. You are still welcome to explore, learn, and use the code provided here.

Modus is dedicated to supporting the community with innovative ideas, best-practice patterns, and inspiring open source solutions. Check out the latest Modus Labs projects.

Modus Labs


couchbase-server-docker

This image is currenlty not auto-built, so you will need to clone the repo to use the image.

To build the docker image, move into the directory of the version you would like to build and issue the docker build command. For example to build 3.0.1:

$ cd 3.0.1
$ docker build -t moduscreate/couchbase:3.0.1 .

To create a container.

$ docker run -d -p 8091:8091 --name couchbase moduscreate/couchbase:3.0.1

This will expose the web interface on the docker host, this isn't necessary, but helpful during development.

To link to another container, modify your application code to use environment variables, by default docker creates environment variables in your container with the name of the linked container and their port number. So if you linked this couchbase container with your application like:

$ docker run -d -p 8080:8080 --name my-app --link couchbase:couchbase
moduscreate/best-app-ever:latest

The ports for couchbase would be exposed to your app as:

COUCHBASE_PORT_8091_TCP_PORT
COUCHBASE_PORT_8091_TCP_ADDR

You can use this to construct your connection string.

couchbase-server-docker's People

Contributors

tleyden avatar ecris87 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.