wumpz / docker-fess

Docker files for Fess

Home Page:https://github.com/orgs/codelibs/packages/container/package/fess

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker for Fess

See Packages.

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 ghcr.io/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/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/data:/var/lib/elasticsearch ghcr.io/codelibs/fess:latest

You can put fess_config.properties to fess/config directory.

Set ES_JAVA_OPTS

To set ES_JAVA_OPTS, use -e option:

$ docker run -e 'ES_JAVA_OPTS="-Xms2g -Xmx2g"' -d -p 8080:8080 ghcr.io/codelibs/fess:latest

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 ghcr.io/codelibs/fess:<tag name> ./<version_dir>/

Elasticsearch

$ docker build --rm --build-arg ES_TYPE=elasticsearch -t ghcr.io/codelibs/fess-elasticsearch:<tag name> ./elasticsearch/<version_dir>/
$ docker build --rm --build-arg ES_TYPE=elasticsearch-oss -t ghcr.io/codelibs/fess-elasticsearch-oss:<tag name> ./elasticsearch/<version_dir>/

License

Apache License 2.0

About

Docker files for Fess

https://github.com/orgs/codelibs/packages/container/package/fess

License:Other


Languages

Language:Dockerfile 52.7%Language:Shell 47.3%