|
@@ -24,15 +24,22 @@ services:
|
|
|
|
|
|
# es:
|
|
|
# restart: always
|
|
|
-# image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.1.3
|
|
|
+# image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.8.10
|
|
|
# environment:
|
|
|
# - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
|
|
+# - "cluster.name=es-mastodon"
|
|
|
+# - "discovery.type=single-node"
|
|
|
+# - "bootstrap.memory_lock=true"
|
|
|
# networks:
|
|
|
# - internal_network
|
|
|
# healthcheck:
|
|
|
# test: ["CMD-SHELL", "curl --silent --fail localhost:9200/_cluster/health || exit 1"]
|
|
|
# volumes:
|
|
|
# - ./elasticsearch:/usr/share/elasticsearch/data
|
|
|
+# ulimits:
|
|
|
+# memlock:
|
|
|
+# soft: -1
|
|
|
+# hard: -1
|
|
|
|
|
|
web:
|
|
|
build: .
|