Public Repository

Last pushed: 2 days ago
Short Description
Docker image to create an elastic search and the front end that allows for dataset search
Full Description

Docker image for search demo

Docker image to create an elastic search and the front end that allows for dataset search

Create and run docker container as a daemon

docker run --name YOUR_CONTAINER_NAME -dit -p 9200:9200 -p 80:80 dtlfair/search -Des.network.host=0.0.0.0

Create and run docker container and access the terminal

docker run --name YOUR_CONTAINER_NAME -p 9200:9200 -p 80:80 -i -t  dtlfair/search  /bin/bash -Des.network.host=0.0.0.0

Configuration options

Running elasticsearch daemon in a different url or behind a proxy

If you want to run elasticsearch in a different server or, in docker, but behind a proxy you can use the switch

-e "ES_URL=http://www.example.org:8181/example/"
Full example
docker run -e "ES_URL=http://www.example.org:8181/example/" --name YOUR_CONTAINER_NAME -dit -p 9200:9200 -p 80:80 dtlfair/search -Des.network.host=0.0.0.0
Loading example data

If you want to use example data to populate Elastic Search database you can use the switch

-e "LOAD_EXAMPLE_DATA=true"
Full example
docker run -e "LOAD_EXAMPLE_DATA=true" --name YOUR_CONTAINER_NAME -dit -p 9200:9200 -p 80:80 dtlfair/search -Des.network.host=0.0.0.0
Docker Pull Command
Owner
dtlfair