mastodon: Fix elasticsearch restarts, higher mem
This commit is contained in:
parent
454c79549a
commit
db4c28ade0
1 changed files with 2 additions and 2 deletions
|
@ -85,8 +85,8 @@ services:
|
||||||
es:
|
es:
|
||||||
restart: always
|
restart: always
|
||||||
image: docker.elastic.co/elasticsearch/elasticsearch:{{ mastodon_elasticsearch_image_version }}
|
image: docker.elastic.co/elasticsearch/elasticsearch:{{ mastodon_elasticsearch_image_version }}
|
||||||
mem_limit: 724mb
|
mem_limit: 1124mb
|
||||||
memswap_limit: 780mb
|
memswap_limit: 1280mb
|
||||||
environment:
|
environment:
|
||||||
- "ES_JAVA_OPTS=-Xms512m -Xmx512m -Des.enforce.bootstrap.checks=true"
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m -Des.enforce.bootstrap.checks=true"
|
||||||
- "xpack.license.self_generated.type=basic"
|
- "xpack.license.self_generated.type=basic"
|
||||||
|
|
Loading…
Add table
Reference in a new issue