<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay 7.3 on Docker with Elasticsearch - Connection refused</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120451758" />
  <subtitle>Liferay 7.3 on Docker with Elasticsearch - Connection refused</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120451758</id>
  <updated>2026-04-06T00:21:06Z</updated>
  <dc:date>2026-04-06T00:21:06Z</dc:date>
  <entry>
    <title>RE: Liferay 7.3 on Docker with Elasticsearch - Connection refused</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120577146" />
    <author>
      <name>Rafał Pydyniak</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120577146</id>
    <updated>2021-01-29T14:40:29Z</updated>
    <published>2021-01-29T14:40:29Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;thanks! I couldn't find that - I could only find the documentation
  for 7.2
  (https://help.liferay.com/hc/en-us/articles/360029031671-Configuring-the-Liferay-Elasticsearch-Connector).
  It indeed seems to be working now&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;</summary>
    <dc:creator>Rafał Pydyniak</dc:creator>
    <dc:date>2021-01-29T14:40:29Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3 on Docker with Elasticsearch - Connection refused</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120577128" />
    <author>
      <name>Russell Bohl</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120577128</id>
    <updated>2021-01-29T14:27:48Z</updated>
    <published>2021-01-29T14:27:48Z</published>
    <summary type="html">&lt;p&gt;I believe the first thing you need to do is read the docs: &lt;a
    href="https://learn.liferay.com/dxp/7.x/en/using-search/installing-and-upgrading-a-search-engine/elasticsearch.html"&gt;Liferay
    and Elasticsearch&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Specifically, in &lt;a
    href="https://learn.liferay.com/dxp/7.x/en/using-search/installing-and-upgrading-a-search-engine/elasticsearch/connecting-to-elasticsearch.html"&gt;Connecting
    to Elasticsearch&lt;/a&gt;, you'll see that 7.3 uses the HTTP connection,
  whereeas you have configured the transport connection. In addition,
  wile configuring operationMode will still work, you might as well use
  the non-deprecated replacement for it, productionModeEnabled:&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;A simple 7.3 connector configuration enables production mode (&lt;code class="docutils literal notranslate"&gt;
      &lt;span
    class="pre"&gt;productionModeEnabled=&amp;quot;true&amp;quot;&lt;/span&gt;&lt;/code&gt;)
    and sets the URL to each Elasticsearch node (&lt;code class="docutils literal notranslate"&gt;
      &lt;span class="pre"&gt;networkHostAddresses=[&amp;quot;http://es-node:9200&amp;quot;]&lt;/span&gt;&lt;/code&gt;).&lt;/p&gt;&lt;/blockquote&gt;</summary>
    <dc:creator>Russell Bohl</dc:creator>
    <dc:date>2021-01-29T14:27:48Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3 on Docker with Elasticsearch - Connection refused</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120577105" />
    <author>
      <name>Rafał Pydyniak</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120577105</id>
    <updated>2021-01-29T14:16:56Z</updated>
    <published>2021-01-29T14:16:56Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;thanks for the answer! Is the property the same? Sadly there is no
  docs for 7.3 for this and also I can't see anything in breaking
  changes.&lt;br /&gt;Below is my .config file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;operationMode=&amp;quot;REMOTE&amp;quot;
transportAddresses=&amp;quot;elasticsearch:9200&amp;quot;
clusterName=&amp;quot;elasticsearch&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;And sadly it does not work&lt;/p&gt;</summary>
    <dc:creator>Rafał Pydyniak</dc:creator>
    <dc:date>2021-01-29T14:16:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3 on Docker with Elasticsearch - Connection refused</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120577084" />
    <author>
      <name>Sergio Sanchez</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120577084</id>
    <updated>2021-01-29T14:07:50Z</updated>
    <published>2021-01-29T14:07:50Z</published>
    <summary type="html">&lt;p&gt;Hi, you should be using port 9200 and not 9300 in your connector
  config (&lt;b
    id="docs-internal-guid-d54c28e7-7fff-8afa-3c8d-f4e42205ca08" style="font-weight: normal;"&gt;
    &lt;span
      style="font-size: 10.5pt;font-family: &amp;quot;Source Sans Pro&amp;quot; , sans-serif;color: rgb(0,0,0);background-color: transparent;font-weight: 400;font-style: italic;font-variant: normal;text-decoration: none;vertical-align: baseline;white-space: pre;"&gt;com.liferay.portal.search.elasticsearch7.configuration.ElasticsearchConfiguration.config &lt;/span&gt;&lt;/b&gt;
  &lt;span style="font-size: 10.5pt;font-family: &amp;quot;Source Sans Pro&amp;quot; , sans-serif;color: rgb(0,0,0);background-color: transparent;font-weight: 400;font-style: italic;font-variant: normal;text-decoration: none;vertical-align: baseline;white-space: pre;"&gt;
    &lt;em&gt;file)&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Since Liferay Portal/DXP 7.3 the connector uses the HTTP connection.&lt;/p&gt;
&lt;p&gt;Hope it helps&lt;/p&gt;</summary>
    <dc:creator>Sergio Sanchez</dc:creator>
    <dc:date>2021-01-29T14:07:50Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Liferay 7.3 on Docker with Elasticsearch - Connection refused</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120577017" />
    <author>
      <name>Bartosz Jabłoński</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120577017</id>
    <updated>2021-01-29T17:48:08Z</updated>
    <published>2021-01-29T13:08:08Z</published>
    <summary type="html">&lt;p&gt;What I eventually did is I switched to elastic 6 and it worked...&lt;br /&gt;
  &lt;br /&gt;I don't know if that solution is applicable for you. Funny
  enough - the documentation states that it is compatible with elastic 7...&lt;/p&gt;</summary>
    <dc:creator>Bartosz Jabłoński</dc:creator>
    <dc:date>2021-01-29T13:08:08Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.3 on Docker with Elasticsearch - Connection refused</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120577001" />
    <author>
      <name>Rafał Pydyniak</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120577001</id>
    <updated>2021-01-29T12:41:31Z</updated>
    <published>2021-01-29T12:41:31Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;has anyone found a solution for that? I have the same issue on
  Liferay DXP 7.3 GA1&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;</summary>
    <dc:creator>Rafał Pydyniak</dc:creator>
    <dc:date>2021-01-29T12:41:31Z</dc:date>
  </entry>
  <entry>
    <title>Liferay 7.3 on Docker with Elasticsearch - Connection refused</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120451757" />
    <author>
      <name>Bartosz Jabłoński</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120451757</id>
    <updated>2020-11-16T08:10:47Z</updated>
    <published>2020-11-16T08:10:47Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;I have a problem with Liferay + Elasticsearch setup with
  docker-compose. When starting the compose bundle Liferay complains
  that it cannot connect to remote elasticsearch instance with exception:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;amp;nbsp;2020-11-15 21:39:55.042 ERROR [main][ElasticsearchEngineConfigurator:93] bundle com.liferay.portal.search.elasticsearch7.impl:2.0.30 (655)[com.liferay.portal.search.elasticsearch7.internal.ElasticsearchEngineConfigurator(1604)] : The activate method has thrown an exception&amp;amp;nbsp;
&amp;amp;nbsp;java.lang.RuntimeException: java.net.ConnectException: Connection refused
&amp;amp;nbsp; at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.cluster.HealthClusterRequestExecutorImpl.getClusterHealthResponse(HealthClusterRequestExecutorImpl.java:102)
&amp;amp;nbsp; at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.cluster.HealthClusterRequestExecutorImpl.execute(HealthClusterRequestExecutorImpl.java:49)
&amp;amp;nbsp; at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.cluster.ElasticsearchClusterRequestExecutor.executeClusterRequest(ElasticsearchClusterRequestExecutor.java:51)
&amp;amp;nbsp; at com.liferay.portal.search.engine.adapter.cluster.HealthClusterRequest.accept(HealthClusterRequest.java:40)
&amp;amp;nbsp; at com.liferay.portal.search.engine.adapter.cluster.HealthClusterRequest.accept(HealthClusterRequest.java:22)
&amp;amp;nbsp; at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.cluster.ElasticsearchClusterRequestExecutor.execute(ElasticsearchClusterRequestExecutor.java:44)
&amp;amp;nbsp; at com.liferay.portal.search.elasticsearch7.internal.search.engine.adapter.ElasticsearchSearchEngineAdapterImpl.execute(ElasticsearchSearchEngineAdapterImpl.java:69)
&amp;amp;nbsp; at com.liferay.portal.search.elasticsearch7.internal.ElasticsearchSearchEngine.waitForYellowStatus(ElasticsearchSearchEngine.java:334)
&amp;amp;nbsp; at com.liferay.portal.search.elasticsearch7.internal.ElasticsearchSearchEngine.initialize(ElasticsearchSearchEngine.java:109)
&amp;amp;nbsp; at com.liferay.portal.kernel.search.SearchEngineProxyWrapper.initialize(SearchEngineProxyWrapper.java:59)
&amp;amp;nbsp; at com.liferay.portal.search.elasticsearch7.internal.BaseSearchEngineConfigurator.setSearchEngine(BaseSearchEngineConfigurator.java:500)
&amp;amp;nbsp; at com.liferay.portal.search.elasticsearch7.internal.BaseSearchEngineConfigurator.initSearchEngine(BaseSearchEngineConfigurator.java:407)
&amp;amp;nbsp; at com.liferay.portal.search.elasticsearch7.internal.BaseSearchEngineConfigurator.initialize(BaseSearchEngineConfigurator.java:341)
&amp;amp;nbsp; at com.liferay.portal.search.elasticsearch7.internal.ElasticsearchEngineConfigurator.activate(ElasticsearchEngineConfigurator.java:52)
&amp;amp;nbsp; &amp;amp;nbsp; # Loong stack trace with Casued by "java.net.ConnectException: Connection refused"&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;
  &lt;br&gt;At the same time I can connect via curl to the machines and they respond:&lt;br&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;liferay@a4b06641f395 /opt/liferay&amp;amp;nbsp;
$ curl es-node-1:9200
{
&amp;amp;nbsp; "name" : "es-node-1",
&amp;amp;nbsp; "cluster_name" : "docker-elasticsearch",
&amp;amp;nbsp; "cluster_uuid" : "iUW--n_ORe-zv40sBzUdpQ",
&amp;amp;nbsp; "version" : {
&amp;amp;nbsp; &amp;amp;nbsp; "number" : "7.9.3",
&amp;amp;nbsp; &amp;amp;nbsp; "build_flavor" : "default",
&amp;amp;nbsp; &amp;amp;nbsp; "build_type" : "docker",
&amp;amp;nbsp; &amp;amp;nbsp; "build_hash" : "c4138e51121ef06a6404866cddc601906fe5c868",
&amp;amp;nbsp; &amp;amp;nbsp; "build_date" : "2020-10-16T10:36:16.141335Z",
&amp;amp;nbsp; &amp;amp;nbsp; "build_snapshot" : false,
&amp;amp;nbsp; &amp;amp;nbsp; "lucene_version" : "8.6.2",
&amp;amp;nbsp; &amp;amp;nbsp; "minimum_wire_compatibility_version" : "6.8.0",
&amp;amp;nbsp; &amp;amp;nbsp; "minimum_index_compatibility_version" : "6.0.0-beta1"
&amp;amp;nbsp; },
&amp;amp;nbsp; "tagline" : "You Know, for Search"
}

liferay@a4b06641f395 /opt/liferay&amp;amp;nbsp;
$ curl es-node-1:9300
curl: (1) Received HTTP/0.9 when not allowed&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I have following `docker-compose.yml` file:&lt;br&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;version: '3.2'

services:
&amp;amp;nbsp; web:
&amp;amp;nbsp; &amp;amp;nbsp; image: liferay/portal:7.3.4-ga5
&amp;amp;nbsp; &amp;amp;nbsp; ports:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - "3002:8080"
&amp;amp;nbsp; &amp;amp;nbsp; depends_on:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - appdb
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - liferaydb
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - es-node-1
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - es-node-2
&amp;amp;nbsp; &amp;amp;nbsp; environment:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; LIFERAY_LIFERAY_PERIOD_HOME: /opt/liferay
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; LIFERAY_JDBC_PERIOD_DEFAULT_PERIOD_DRIVER_UPPERCASEC_LASS_UPPERCASEN_AME: com.mysql.cj.jdbc.Driver
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; LIFERAY_JDBC_PERIOD_DEFAULT_PERIOD_USERNAME: user
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; LIFERAY_JDBC_PERIOD_DEFAULT_PERIOD_URL: jdbc:mysql://liferaydb/liferay_db?useFastDateParsing=false
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; LIFERAY_JDBC_PERIOD_DEFAULT_PERIOD_PASSWORD: user_pass
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; LIFERAY_PASSWORDS_PERIOD_ENCRYPTION_PERIOD_ALGORITHM_PERIOD_LEGACY: SHA
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; LIFERAY_WEB_PERIOD_SERVER_PERIOD_HTTP_PERIOD_PORT: 8080
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; LIFERAY_WEB_PERIOD_SERVER_PERIOD_PROTOCOL: http
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; LIFERAY_WEB_PERIOD_SERVER_PERIOD_HOST: liferay.dev
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; LIFERAY_LIVE_PERIOD_USERS_PERIOD_ENABLED: 1
&amp;amp;nbsp; &amp;amp;nbsp; volumes:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - ${PWD}/static/portal-ext.properties:/opt/liferay/portal-ext.properties
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - ${PWD}/deploy:/opt/liferay/deploy
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - ${PWD}/data/VAADIN:/opt/liferay/tomcat/webapps/ROOT/html/VAADIN
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - ${PWD}/static/ElasticsearchConfiguration.config:/opt/liferay/osgi/configs/com.liferay.portal.search.elasticsearch7.configuration.ElasticsearchConfiguration.config

&amp;amp;nbsp; appdb:
&amp;amp;nbsp; &amp;amp;nbsp; image: mysql:5.7
&amp;amp;nbsp; &amp;amp;nbsp; environment:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; MYSQL_ROOT_PASSWORD: root_pass
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; MYSQL_DATABASE: portlet_db
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; MYSQL_USER: user
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; MYSQL_PASSWORD: user_pass
&amp;amp;nbsp; &amp;amp;nbsp; volumes:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - ${PWD}/data/appdb:/var/lib/mysql

&amp;amp;nbsp; liferaydb:
&amp;amp;nbsp; &amp;amp;nbsp; image: mysql:5.7
&amp;amp;nbsp; &amp;amp;nbsp; environment:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; MYSQL_ROOT_PASSWORD: root_pass
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; MYSQL_DATABASE: liferay_db
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; MYSQL_USER: user
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; MYSQL_PASSWORD: user_pass
&amp;amp;nbsp; &amp;amp;nbsp; volumes:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - ${PWD}/data/liferaydb:/var/lib/mysql

&amp;amp;nbsp; es-node-1:
&amp;amp;nbsp; &amp;amp;nbsp; image: docker.elastic.co/elasticsearch/elasticsearch:7.9.3
&amp;amp;nbsp; &amp;amp;nbsp; environment:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - node.name=es-node-1
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - cluster.name=docker-elasticsearch
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - bootstrap.memory_lock=true
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - discovery.seed_hosts=es-node-2
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - cluster.initial_master_nodes=es-node-1,es-node-2
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
&amp;amp;nbsp; &amp;amp;nbsp; ulimits:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; memlock:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; soft: -1
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; hard: -1
&amp;amp;nbsp; &amp;amp;nbsp; deploy:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; resources:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; limits:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; memory: 1g
&amp;amp;nbsp; &amp;amp;nbsp; volumes:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - esdata1:/usr/share/elasticsearch/data
&amp;amp;nbsp; &amp;amp;nbsp; ports:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - 9200:9200

&amp;amp;nbsp; es-node-2:
&amp;amp;nbsp; &amp;amp;nbsp; image: docker.elastic.co/elasticsearch/elasticsearch:7.9.3
&amp;amp;nbsp; &amp;amp;nbsp; environment:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - node.name=es-node-2
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - cluster.name=docker-elasticsearch
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - bootstrap.memory_lock=true
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - discovery.seed_hosts=es-node-1
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - cluster.initial_master_nodes=es-node-1,es-node-2
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
&amp;amp;nbsp; &amp;amp;nbsp; ulimits:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; memlock:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; soft: -1
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; hard: -1
&amp;amp;nbsp; &amp;amp;nbsp; volumes:
&amp;amp;nbsp; &amp;amp;nbsp; &amp;amp;nbsp; - esdata2:/usr/share/elasticsearch/data

volumes:
&amp;amp;nbsp; esdata1:
&amp;amp;nbsp; esdata2:&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Contents of `portal-ext.properties` define data source for my portlet:&lt;br&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;jdbc.ext.driverClassName=com.mysql.cj.jdbc.Driver
jdbc.ext.url=jdbc:mysql://appdb:3306/portlet_db
jdbc.ext.username=user
jdbc.ext.password=user_pass&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Contents of `ElasticsearchConfiguration.config` define connection to Elastic:&lt;br&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;operationMode=REMOTE
transportAddresses=["es-node-1:9300","es-node-2:9300"]
clusterName=docker-elasticsearch
logExceptionsOnly=true&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Does anybody have any idea what is wrong? I tried with and without
  quotes in the `.config` file but I doesn't seem to work.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Bartosz Jabłoński</dc:creator>
    <dc:date>2020-11-16T08:10:47Z</dc:date>
  </entry>
</feed>
