Skip to content

chaitanya9186/docker-couchdb-lucene

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-couchdb-lucene

Run CouchDB Lucene in a docker container.

docker run -d -p 5985:5985 klaemo/couchdb-lucene

Configuration

Both your CouchDB container and the CouchDB Lucene container need to be able to connect to eachother. This can be done through docker networking. Feel free to take a look at the setup in the example directory.

CouchDB Lucene

By default the CouchDB Lucene container expects CouchDB to be reachable at http://couchdb:5984. Again this can be achieved with docker networks or container linking. You can adjust it by doing the following in the couchdb-lucene container (or in a Dockerfile):

sed -e 's/couchdb:5984/your-couchdb-hostname:5984/' -i /opt/couchdb-lucene/conf/couchdb-lucene.ini

Proxy handler for CouchDB

Add the following to your CouchDB's local.ini or in the configuration UI:

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

Note: adjust the URL to couchdb-lucene accordingly.

Further reading

About

Dockerized Full Text Search for CouchDB

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%