about summary refs log tree commit diff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-06-17 17:10:15 +0200
committerThibaut Girka <thib@sitedethib.com>2020-06-17 17:10:15 +0200
commit59e92004b3aa8543a42f1bd40d32f936177a434d (patch)
treed952a82dc15cc16bda626d60dd0162c25bb125b4 /docker-compose.yml
parent0a5cf075cdddbbe40e79ebad8ee2b1abd62d3200 (diff)
parentb1d492f30a584a9e204ac1345e6508ed4acb44bd (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Conflicts:
- `Gemfile.lock`: not a real conflict, upstream update too close
  to a glitch-soc-specific dependency
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index e190df6d6..52eea7a74 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -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: .