Elastic: moved memory limit to environment variable

This allows us to easily change it without rebuilding the Docker image.
This commit is contained in:
2017-09-21 11:38:17 +02:00
parent 8e6fc604e3
commit 98177df7bd
2 changed files with 7 additions and 5 deletions

View File

@@ -28,6 +28,8 @@ elastic:
- /data/storage/elastic:/usr/share/elasticsearch/data
ports:
- "127.0.0.1:9200:9200"
environment:
ES_JAVA_OPTS: "-Xms256m -Xmx256m"
kibana:
image: armadillica/kibana:latest
container_name: kibana
@@ -133,8 +135,8 @@ haproxy:
- CERT_FOLDER=/certs/
- TIMEOUT=connect 5s, client 5m, server 10m
links:
- blender_cloud
- grafista
# - blender_cloud
# - grafista
# - notifserv
- letsencrypt
- kibana