GithubHelp home page GithubHelp logo

xingjiudong / docker-fess Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codelibs/docker-fess

0.0 1.0 0.0 103 KB

Docker files for Fess

Home Page: https://hub.docker.com/r/codelibs/fess/

License: Other

Shell 45.51% Dockerfile 54.49%

docker-fess's Introduction

Docker for Fess

See https://hub.docker.com/r/codelibs/fess/.

Docker Images

What is Fess ?

Fess is very powerful and easily deployable Enterprise Search Server. You can install and run Fess quickly on any platforms, which have Java runtime environment. Fess is provided under Apache license.

Fess is Elasticsearch-based search server, but knowledge/experience about Elasticsearch is NOT needed because of All-in-One Enterprise Search Server. Fess provides Administration GUI to configure the system on your browser. Fess also contains a crawler, which can crawl documents on Web/File System/DB and support many file formats, such as MS Office, pdf and zip.

For more info, access Fess official documentation.

Getting Started

Run Fess

You can access http://localhost:8080 from the host OS with:

$ docker run -d -p 8080:8080 --name fess codelibs/fess:latest

Run Fess with Elasticsearch Cluster and Kibana

See docker-compose.yml.

Run Fess with Your Data/Config

To save data and config for Fess/Elasticsearch, use -v option for mount host directory:

$ mkdir -p ./data/fess/config data/es/{config,data}
$ sudo chown -R 1001:1001 ./data/fess
$ sudo chown -R 1000:1000 ./data/es
$ docker run -d -p 8080:8080 --name fess \
    -v $PWD/data/fess/config:/opt/fess \
    -v $PWD/data/es/config:/etc/elasticsearch \
    -v $PWD/data/es/data:/var/lib/elasticsearch codelibs/fess:latest

You can put fess_config.properties to fess/config directory. If you want to use a default setting for Elasticsearch, remove -v $PWD/es/config:/etc/elasticsearch.

Set ES_JAVA_OPTS

To set ES_JAVA_OPTS, use -e option:

$ docker run -e 'ES_JAVA_OPTS="-Xms2g -Xmx2g"' -d -p 8080:8080 codelibs/fess:snapshot

Kernel settings

Elasticsearch needs to set vm.max_map_count to at least 262144. See Install Elasticsearch with Docker.

Build

Fess

To build docker images, run as below:

$ docker build --rm -t codelibs/fess:<tag name> ./<version_dir>/

Elasticsearch

$ docker build --rm -t codelibs/fess-elasticsearch:<tag name> ./elasticsearch/<version_dir>/

License

Apache License 2.0

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.