I hope that this is an easy one and something that i am doing wrong in my compose file to easily fix it.
But basically in my compose file for logstash i am setting the environment value to LS_JAVA_OPTS
logstash: image: bluemountain.azurecr.io/elastic.logstash build: context: . dockerfile: src/Configuration/Elastic/logstash/Dockerfile environment: - "LS_JAVA_OPTS=-Xmx2g -Xms2g" ports: - "5001:5001" - "9600:9600" configs: - source: logstash_pipline_config target: /usr/share/logstash/pipeline/logstash.conf - source: logstash_config target: /usr/share/logstash/config/logstash.yml depends_on: - "elasticsearch" deploy: restart_policy: condition: on-failure
In portainer i can see this value reflected to "2g" in the below image
But when the container starts - these values are not passed in
any help would be greatly appricated as my LS container runs out of memory very quickly and takes 5 hours to import 61m rows of data (i am hoping that this will speed up the import of data)