Skip to content

Creates a docker image for Distil development that contains ElasticSearch v5 and test data

Notifications You must be signed in to change notification settings

uncharted-distil/distil-dev-es

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

distil-dev-es

Provides a dockerfile and supporting scripts to generate images containing Elasticsearch v5.4. The image build step uses distil-ingest to build a distil-ready index from source data; this index is saved as part of the image, allowing for generation of drop-in test container that can be run locally.

Dependencies

  • Go version 1.6+ with the GOPATH environment variable specified and $GOPATH/bin in your PATH.
  • Docker platform.

Building the Image

  1. Edit ./server/config.sh:
    • Ensure the docker image name and version are specified:
      • DOCKER_IMAGE_NAME
      • DOCKER_IMAGE_VERSION
    • Ensure the data path, and datasets are specified and data stored under those paths:
      • DATASETS
      • HOST_DATA_DIR
  2. Run ./build.sh to build the image.

Deploying the Container

A container based on the image can be deployed using the provided ./run.sh script, or a command based on the contents of that script.

About

Creates a docker image for Distil development that contains ElasticSearch v5 and test data

Resources

Stars

Watchers

Forks

Packages

No packages published