ElasticSearch: Difference between revisions
No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
Docs: | Docs: | ||
* https://docs.joinmastodon.org/admin/elasticsearch/ | * https://docs.joinmastodon.org/admin/elasticsearch/ | ||
* https://www.elastic.co/guide/en/elasticsearch/guide/current/hardware.html | |||
* https://www.elastic.co/guide/en/elasticsearch/guide/current/heap-sizing.html | |||
* https://blog.thms.uk/2023/09/mastodon-elasticsearch | * https://blog.thms.uk/2023/09/mastodon-elasticsearch | ||
* (pretty old at this point) https://github.com/felx/mastodon-documentation/blob/master/Running-Mastodon/Elasticsearch-guide.md | * (pretty old at this point and also ES says not do to the JVM memory size thing) https://github.com/felx/mastodon-documentation/blob/master/Running-Mastodon/Elasticsearch-guide.md | ||
Since we are running on a small VPS, we might need to configure it for a low memory environment! | Since we are running on a small VPS, we might need to configure it for a low memory environment! |
Revision as of 02:27, 27 October 2023
Config
List any changed config values here!!!
/etc/elasticsearch/elasticsearch.yml
:
network.host: localhost discovery.type: single-node xpack.security.enabled: true
/home/mastodon/.env.production
idk if we should put this part online but there is some config here too
References
Docs:
- https://docs.joinmastodon.org/admin/elasticsearch/
- https://www.elastic.co/guide/en/elasticsearch/guide/current/hardware.html
- https://www.elastic.co/guide/en/elasticsearch/guide/current/heap-sizing.html
- https://blog.thms.uk/2023/09/mastodon-elasticsearch
- (pretty old at this point and also ES says not do to the JVM memory size thing) https://github.com/felx/mastodon-documentation/blob/master/Running-Mastodon/Elasticsearch-guide.md
Since we are running on a small VPS, we might need to configure it for a low memory environment!
Discord
OK yet again starting thread on getting ElasticSearch running