Git Product home page Git Product logo

docker-couchdb-lucene's Introduction

docker-couchdb-lucene's People

Contributors

toniher avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

hmphu oflex

docker-couchdb-lucene's Issues

latest seems broken

docker run -it toniher/couchdb-lucene:latest
./bin/run: 16: exec: java: not found

Would you help me?

Good evening,

I've been trying for some time to configure lucene with couchdb with this image of yours.

I don't understand how the integration works, but after a lot of searching I managed to set up an environment with his image.

But, I'm not sure it's working. Lucene is opening, but I can't do any tests. leaving me in doubt if the integration is really working.

VIEW

function (doc) {
  if (doc.$typedoc === 'module') {
    emit(doc.nome.toLowerCase() + " - " + doc.descricao, null);
  }
}

INDEXES

{
  "_id": "_design/modules",
  "fulltext": {
    "by_nome": {
      "index": "function(doc) { var ret=new Document(); ret.add(doc.nome, { field: 'nome', store: 'yes'}); return ret }"
    }
  }
}

lucene-proxy.ini

[httpd_global_handlers]
_fti = {couch_httpd_proxy, handle_proxy_req, <<"http://couchdb-lucene:5985">>}

DOCKER COMPOSE

couchdb:
    container_name: couchdb-dev
    image: couchdb:latest
    environment:
      - COUCHDB_USER=admin
      - COUCHDB_PASSWORD=admin
    ports:
      - '5984:5984'
    volumes:
      - couchdb_data:/opt/couchdb/data
      - ./.docker/dev/couchdb/lucene-proxy.ini:/opt/couchdb/etc/local.d/lucene-proxy.ini
    networks:
      - interna
      - externa

couchdb-lucene:
    container_name: couchdb-lucene-dev
    image: toniher/couchdb-lucene:2.1.0
    restart: always
    environment: 
      - COUCHDB_PORT=5984
      - COUCHDB_SERVER=couchdb
    ports:
      - '5985:5985'
    volumes:
      - ./.docker/dev/couchdb/indexes/:/opt/couchdb-lucene/indexes/
    links:
      - couchdb
    networks:
      - interna
      - externa

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.