Skip to content

Openstack-projects/openstack-search

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker for Openstack Search Service

build

docker build -t openstack-search .

run

  • create local bridge
docker network create -d bridge --subnet 192.168.0.0/24 --gateway 192.168.0.1 docker-bridge
  • run container
docker run --name openstack-search1 \
-v mongo-data-db:/data/db \
-v mongo-data-config-db:/data/configdb \
-v solr-data:/var/solr/data \
--net=docker-bridge \
-p 32769:8983 -d -m 8GB --oom-kill-disable \
--restart=always openstack-search

connect

docker exec -it openstack-search1 /bin/bash
  • check process using supervisord
supervisorctl

by default creates 4 cores

default solr cores

  • www site
  • docs site
  • super users
  • blog

create new core on existing container instance

docker exec -it openstack-search1 create-nutch-core.sh $NEW_CORE_NAME $BASE_SEED_URL

Nutch

Useful commands

  • kill all running containers with
  docker kill $(docker ps -q)
  • delete all stopped containers with
  docker rm $(docker ps -a -q)
  • delete all images with
  docker rmi $(docker images -q)

About

openstack search engine component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 57.0%
  • Shell 43.0%