Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/klaemo/docker-couchdb-lucene
Dockerized Full Text Search for CouchDB
https://github.com/klaemo/docker-couchdb-lucene
couchdb docker docker-image full-text-search lucene
Last synced: 7 days ago
JSON representation
Dockerized Full Text Search for CouchDB
- Host: GitHub
- URL: https://github.com/klaemo/docker-couchdb-lucene
- Owner: klaemo
- License: apache-2.0
- Created: 2016-05-06T15:14:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-19T16:50:00.000Z (over 6 years ago)
- Last Synced: 2024-10-20T07:43:12.756Z (17 days ago)
- Topics: couchdb, docker, docker-image, full-text-search, lucene
- Language: Shell
- Size: 9.77 KB
- Stars: 12
- Watchers: 4
- Forks: 12
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-couchdb-lucene
Run [CouchDB Lucene](https://github.com/rnewson/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 (adjusting the couchdb-lucene URL accordingly):
```
[httpd_global_handlers]
_fti = {couch_httpd_proxy, handle_proxy_req, <<"http://couchdb-lucene:5985">>}
```
***Note:*** The proxy handler currently doesn't work with CouchDB 2.0 (see [this issue](https://issues.apache.org/jira/browse/COUCHDB-3172)).
You can query couchdb-lucene directly instead.### Available Tags
* `1.0.2`: CouchDB-Lucene 1.0.2
* `1.1.0`: CouchDB-Lucene 1.1.0
* `2.1.0`, `latest`: CouchDB-Lucene 2.1.0## Further reading
* [couchdb-lucene](https://github.com/rnewson/couchdb-lucene)