Skip to content

An Alpine-based Elasticsearch container with S6-Overlay used for August Ash initiatives.

License

Notifications You must be signed in to change notification settings

augustash/docker-alpine-elasticsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alpine Elasticsearch Image

https://www.augustash.com

This base container is not currently aimed at public consumption. It exists as a starting point for August Ash containers.

Versions

See VERSIONS.md for image contents.

Usage

Launch a single-use Elasticsearch container:

docker run --rm \
    -p 9200:9200 \
    -p 9300:9300 \
    augustash/alpine-elasticsearch

Configuration

Dynamic scripting is normally turned off but this image enables it. The best way to alter the configuration of Elasticsearch is to mount an elasticsearch.yml file into /usr/share/elasticsearch/config.

Plugins

The following analysis plugins are installed by default:

  • analysis-icu which integrates the Lucene ICU module into Elasticsearch.
  • analysis-phonetic which provides token filters which convert tokens to phonetic representations.

User/Group Identifiers

To help avoid nasty permissions errors, the container allows you to specify your own PUID and PGID. This can be a user you've created or even root (not recommended).

Environment Variables

The following variables can be set and will change how the container behaves. You can use the -e flag, an environment file, or your Docker Compose file to set your preferred values. The default values are shown:

  • PUID=501
  • PGID=1000