fourpartswater / distil-dev-es

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Shell 92.2%Language:Dockerfile 7.8%