Fix local Docker Elasticsearch setup
Fix local Docker Elasticsearch setup
- Remove redundant
scripts/docker/es
which seems unused - Match file structure in https://gitlab.com/gl-infra/gitter-infrastructure/tree/6ecdeb818563f44140dfb705c06f4ef3cd01fff1/ansible/roles/elasticsearch/instances/prod/files/elastic-config
- We aren't including all of the
ansible/roles/elasticsearch/instances/prod/files/elastic-config/languages
because they require a tokenizer plugins to be manually installed (this is normally handled here https://gitlab.com/gl-infra/gitter-infrastructure/blob/6ecdeb818563f44140dfb705c06f4ef3cd01fff1/ansible/roles/elasticsearch/versions/v1/tasks/main.yml#L55)
- We aren't including all of the
Todo
-
Figure out why nothing actually gets replicated (although nothing was replicated before anyway), - http://localhost:9200/_plugin/river-mongodb/ shows "Last Replicated - never" "Documents Indexed - 0", https://i.imgur.com/sLZxSZY.png
-
docker exec -it webapp_elasticsearch_1 /bin/bash
->/data/es/logs/es-command-output.log
shows nothing out of the ordinary, https://gitlab.com/snippets/1709251 - http://localhost:9200/_river/gitterChatRiver01/_meta?pretty=true looks normal
- Just going to merge regardless because it didn't work previously and this is a better state anyway (green cluster, etc).
Edited by 🤖 GitLab Bot 🤖