Skip to content

Commit b98253f

Browse files
authored
Pass resource ENVs to zammad-elasticsearch container (#494)
* Adds ELASTICSEARCH_HEAP_SIZE, ELASTICSEARCH_MAX_ALLOWED_MEMORY_PERCENTAGE, ELASTICSEARCH_MAX_ALLOWED_MEMORY, ELASTICSEARCH_MAX_TIMEOUT and ELASTICSEARCH_LOCK_ALL_MEMORY to the list of variables to be passed to the zammad-elasticsearch container so that these limits can be configured via .env.
1 parent 5242d79 commit b98253f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docker-compose.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,21 @@ services:
7676
volumes:
7777
- elasticsearch-data:/bitnami/elasticsearch/data
7878
environment:
79+
# See https://github.com/bitnami/containers/tree/main/bitnami/elasticsearch#environment-variables
80+
#
7981
# Enable authorization without HTTPS. For external access with
8082
# SSL termination, use solutions like nginx-proxy-manager.
8183
ELASTICSEARCH_ENABLE_SECURITY: 'true'
8284
ELASTICSEARCH_SKIP_TRANSPORT_TLS: 'true'
8385
ELASTICSEARCH_ENABLE_REST_TLS: 'false'
8486
# ELASTICSEARCH_USER is hardcoded to 'elastic' in the container.
8587
ELASTICSEARCH_PASSWORD: ${ELASTICSEARCH_PASS:-zammad}
88+
# Resource settings
89+
ELASTICSEARCH_HEAP_SIZE:
90+
ELASTICSEARCH_MAX_ALLOWED_MEMORY_PERCENTAGE:
91+
ELASTICSEARCH_MAX_ALLOWED_MEMORY:
92+
ELASTICSEARCH_MAX_TIMEOUT:
93+
ELASTICSEARCH_LOCK_ALL_MEMORY:
8694

8795
zammad-init:
8896
<<: *zammad-service

0 commit comments

Comments
 (0)