Config files needed to start Elasticsearch Stack via Docker for Conditor Project :
- a config file for Elasticsearch
- a config log4j for Elasticsearch
- a docker-compose file for running Elasticsearch, Kibana and nginx reverse-proxy for authentication
- Docker (Version ⩾ 17.05.0)
- Docker Compose (Version ⩾ 1.17.0)
- vm.max_map_count ⩾ 262144 (see elasticsearch doc)
Notes :
- Elasticsearch is listening on the standard port
9200
- Kibana is listening on the standard port
5601
: accessible without authentication - Nginx is listening on the port
8081
and makes Kibana accessible in a read-only mode, with a basic login/password authentication. If you want to share Kibana outside of your organization, you probably shoud use this option as entrypoint.
CK_ADMIN_USERNAME="kibana-conditor" \
CK_ADMIN_PASSWORD="changeme" \
make run-debug
CK_ADMIN_USERNAME="kibana-conditor" \
CK_ADMIN_PASSWORD="changeme" \
CK_BASEURL="https://kibana.conditor.fr" \
make run-prod
Note :
"rp" container in production mode relies on the conditor/conditores-rp image, hosted on Docker Hub.
"elasticsearch" container in production mode relies on the conditor/conditores-elasticsearch image, hosted on Docker Hub.
Building (from application directory) :
make build
Deploying on docker hub :
docker push conditor/conditores-rp:<TAG_NO>
docker push conditor/conditores-elasticsearch:<TAG_NO>