Giter Club home page Giter Club logo

couchbase-docker-cloudnative's People

Contributors

cha87de avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

jbertaux

couchbase-docker-cloudnative's Issues

Client-Side timeout exceeded for operation

Hi, I get this error when I setup couchbase with your image. I'm using couchnode driver.

CouchbaseError: Client-Side timeout exceeded for operation. Inspect network conditions or increase the timeout

When I use the official image it works

docker run -d --name db -p 8091-8094:8091-8094 -p 11210:11210 couchbase

Thats my config:

version: "3"
services:
  couchbase:
    image: cha87de/couchbase-cloudnative
    environment:
      - CLUSTER=localhost
      - USER=admin
      - PASS=secret
      - PORT=8091
      - RAMSIZEMB=1024
      - RAMSIZEINDEXMB=256
      - RAMSIZEFTSMB=256
      - BUCKETS=default
      - BUCKETSIZES=256
      - AUTOREBALANCE=true
    ports:
      - 8091:8091
      - 8092:8092
      - 8093:8093
      - 8094:8094
      - 11210:11210
      - 11211:11211

Logs:

couchbase_1  | Starting Couchbase Server -- Web UI available at http://<ip>:8091 and logs available in /opt/couchbase/var/lib/couchbase/logs
couchbase_1  | now initializing couchbase ...
couchbase_1  | try initialization
couchbase_1  | failed to initialize cluster.
couchbase_1  | 1 retries. retry in 5s.
couchbase_1  | Unable to connect to host at http://localhost:8091
couchbase_1  | cannot initialize couchbase
couchbase_1  | try initialization
couchbase_1  | Unable to connect to host at http://localhost:8091
couchbase_1  | cannot initialize couchbase
couchbase_1  | failed to initialize cluster.
couchbase_1  | 2 retries. retry in 5s.
couchbase_1  | try initialization
couchbase_1  | SUCCESS: init/edit localhost
couchbase_1  | try to add host (if not already added) to cluster
couchbase_1  | Error: Failed to add server 172.19.0.2:8091: Prepare join failed. Joining node to itself is not allowed.
couchbase_1  | failed to add host to cluster
couchbase_1  | failed to add server to cluster.
couchbase_1  | 1 retries. retry in 5s.
couchbase_1  | server is already part of the cluster. skipping.
couchbase_1  | try to create buckets
couchbase_1  | create bucket default with size 256
couchbase_1  | ...SUCCESS: bucket-create
couchbase_1  | now wait for couchbase forever

Couchbase 5

Since Couchbase 5 we need an user to access the bucket. I see that your script does not add a user with a Bucket Role to the bucket. It will be great to add this in the docker image. Thanks

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.