<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SOLR change shared.properties in Docker image in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/solr-change-shared-properties-in-docker-image/m-p/76202#M24129</link>
    <description>&lt;P&gt;You need to extend default Search Services Docker Image in order to add/modify the properties. Java Envs are not supported.&lt;/P&gt;
&lt;P&gt;This is a sample on how to do that:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/aborroy/alfresco-solr-docker-mtls/blob/master/search/Dockerfile#L17" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/aborroy/alfresco-solr-docker-mtls/blob/master/search/Dockerfile#L17&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Aug 2021 07:05:19 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2021-08-06T07:05:19Z</dc:date>
    <item>
      <title>SOLR change shared.properties in Docker image</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/solr-change-shared-properties-in-docker-image/m-p/76199#M24126</link>
      <description>Hello everyone,I am having trouble trying to change the SOLR 6 shared.properties file starting from the Docker image.In particular I would like to enable the cross locale search, so I have my own Dockerfile where I replace the string "# alfresco.cross" with "alfresco.cross", so that it will be uncom</description>
      <pubDate>Fri, 01 Mar 2019 12:09:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/solr-change-shared-properties-in-docker-image/m-p/76199#M24126</guid>
      <dc:creator>ajeje93</dc:creator>
      <dc:date>2019-03-01T12:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR change shared.properties in Docker image</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/solr-change-shared-properties-in-docker-image/m-p/76200#M24127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the end I created a configmap in Kubernetes and mounted it as a volume to override the configuration. Howevere, I would like to know anyways how to perform this operation because it can be useful when starting Alfresco using Docker Compose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2019 14:12:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/solr-change-shared-properties-in-docker-image/m-p/76200#M24127</guid>
      <dc:creator>ajeje93</dc:creator>
      <dc:date>2019-03-01T14:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR change shared.properties in Docker image</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/solr-change-shared-properties-in-docker-image/m-p/76201#M24128</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to configure alfresco.cron SOLR property in my docker-compose.yml file within SOLR_OPTS. And I try to do that, like this:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;ng-office-ass&lt;/SPAN&gt;:&lt;BR /&gt;  &lt;SPAN&gt;image&lt;/SPAN&gt;: alfresco/alfresco-search-services:2.0.1&lt;BR /&gt;  &lt;SPAN&gt;environment&lt;/SPAN&gt;:&lt;BR /&gt;    &lt;SPAN&gt;SOLR_ALFRESCO_HOST&lt;/SPAN&gt;: ng-office-acs&lt;BR /&gt;    &lt;SPAN&gt;SOLR_ALFRESCO_PORT&lt;/SPAN&gt;: 8080&lt;BR /&gt;    &lt;SPAN&gt;SOLR_SOLR_HOST&lt;/SPAN&gt;: ng-office-ass&lt;BR /&gt;    &lt;SPAN&gt;SOLR_SOLR_PORT&lt;/SPAN&gt;: 8983&lt;BR /&gt;    &lt;SPAN&gt;SOLR_CREATE_ALFRESCO_DEFAULTS&lt;/SPAN&gt;: alfresco,archive&lt;BR /&gt;    &lt;SPAN&gt;ALFRESCO_SECURE_COMMS&lt;/SPAN&gt;: none&lt;BR /&gt;    &lt;SPAN&gt;SOLR_OPTS&lt;/SPAN&gt;: "&lt;SPAN&gt;$SOLR_OPTS -Dalfresco.cron=0/2 * * * * ? *"&lt;BR /&gt;&lt;/SPAN&gt;  &lt;SPAN&gt;ports&lt;/SPAN&gt;:&lt;BR /&gt;    - &lt;SPAN&gt;"8983:8983"&lt;BR /&gt;&lt;/SPAN&gt;  &lt;SPAN&gt;volumes&lt;/SPAN&gt;:&lt;BR /&gt;    - ng-office-ass-volume:/opt/alfresco-search-services/contentstore&lt;BR /&gt;    - ng-office-ass-volume:/opt/alfresco-search-services/data&lt;BR /&gt;  &lt;SPAN&gt;depends_on&lt;/SPAN&gt;:&lt;BR /&gt;    - ng-office-acs&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;But the result is the next error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;ng-office-ass_1 | Error: Could not find or load main class contentstore&lt;BR /&gt;ng-office-ass_1 | Caused by: java.lang.ClassNotFoundException: contentstore&lt;/P&gt;&lt;P&gt;A also tried to add this property as a new "JAVA_OPTS" entry. I didn't get any error message, but after I checked solrcore. properties file in my ass container I can see that alfresco.cron property is the same.&lt;/P&gt;&lt;P&gt;I read all the documentation, and I cannot found how to configure solr properties(&lt;A href="https://docs.alfresco.com/search-services/latest/config/properties/#solr-core-configuration-properties" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/search-services/latest/config/properties/#solr-core-configuration-properti...&lt;/A&gt;) in the docker-comose.yml file.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 15:22:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/solr-change-shared-properties-in-docker-image/m-p/76201#M24128</guid>
      <dc:creator>jelenajjovanosk</dc:creator>
      <dc:date>2021-08-05T15:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: SOLR change shared.properties in Docker image</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/solr-change-shared-properties-in-docker-image/m-p/76202#M24129</link>
      <description>&lt;P&gt;You need to extend default Search Services Docker Image in order to add/modify the properties. Java Envs are not supported.&lt;/P&gt;
&lt;P&gt;This is a sample on how to do that:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/aborroy/alfresco-solr-docker-mtls/blob/master/search/Dockerfile#L17" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/aborroy/alfresco-solr-docker-mtls/blob/master/search/Dockerfile#L17&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 07:05:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/solr-change-shared-properties-in-docker-image/m-p/76202#M24129</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-08-06T07:05:19Z</dc:date>
    </item>
  </channel>
</rss>

