This repository contains the Dockerfile for ResouceContracts Elasticsearch component for Docker.
- Install Docker.
- Clone this repo
git clone https://github.com/younginnovations/docker-rc-elasticsearch.git
- Go to the cloned folder
docker-rc-elasticsearch
- Build an image from Dockerfile
docker build -t=rc-index .
- Run
docker run -p 80:80 -d rc-index
- Access the system from the browser at http://xxx/rc-index/
- Update the apache configuration so that the system could be accessed from the base IP http://xxx
- Mount the system temporary folder to the host folder to preserve the temporary files and logs
- Currently system is run using root, need to use appropriate users for running the servers and applications.