Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/openvidu/elasticsearch-kibana
Easy to deploy Elasticsearch ready to use for OpenVidu Pro
https://github.com/openvidu/elasticsearch-kibana
Last synced: about 1 month ago
JSON representation
Easy to deploy Elasticsearch ready to use for OpenVidu Pro
- Host: GitHub
- URL: https://github.com/openvidu/elasticsearch-kibana
- Owner: OpenVidu
- Created: 2021-03-05T15:23:34.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-09T11:25:27.000Z (almost 3 years ago)
- Last Synced: 2024-02-24T19:57:10.725Z (10 months ago)
- Language: Shell
- Size: 16.6 KB
- Stars: 2
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Elasticsearch and Kibana
This is an easy to deploy Elasticsearch and Kibana ready to work for OpenVidu Pro.
# Prerequesites
- Docker
- Docker compose
- Git# Installation
1. Git clone this repository in any directory:
```
git clone https://github.com/OpenVidu/elasticsearch-kibana.git
```2. Fill the parameters of the .env file. This parameters are mandatory:
- `DOMAIN_OR_PUBLIC_IP`: Domain or public IP where your installing Elasticsearch and Kibana.
- `CERTIFICATE_TYPE`: The type of certificate you want to use:
- `selfsigned`: Self signed certificate. **Not recommended**. OpenVidu Pro will not connect to selfsigned certificates. You need a valid certificate with `letsencrypt` or your own certificate.
- `letsencrypt`: Generate a new certificate using letsencrypt. Please set the required contact email for Let's Encrypt in `LETSENCRYPT_EMAIL` variable.
You need also a FQDN (Fully Qualified Domain Name) for letsencrypt to work properly.
- `owncert`: Valid certificate purchased in a Internet services company. Please put the certificates files inside folder `./owncert` with names `certificate.key` and `certificate.cert`.
- `LETSENCRYPT_EMAIL`: Fill this if you're using `CERTIFICATE_TYPE=letsencrypt`.
- `ELASTICSEARCH_USERNAME`: Username for Elasticsearch
- `ELASTICSEARCH_PASSWORD`: Password for the Elasticsearch user.3. Execute the deployment with:
```
docker-compose up -d
```And that's it. You will have your Elasticsearch and Kibana ready at:
- Elasticsearch: `https:///`
- Kibana: `https:///kibana`# Configure it for OpenVidu
You just need to add/modify this properties in your OpenVidu installation at `/opt/openvidu/.env`:
```
OPENVIDU_PRO_ELASTICSEARCH_HOST=https://:443/
OPENVIDU_PRO_KIBANA_HOST=https://:443/kibana/
ELASTICSEARCH_USERNAME=
ELASTICSEARCH_PASSWORD=
```