<?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: minimal alfresco distribution in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/minimal-alfresco-distribution/m-p/140596#M37552</link>
    <description>&lt;P&gt;Thank you. Can we put share inside the alfresco container?&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2021 13:00:40 GMT</pubDate>
    <dc:creator>lucastancapiano</dc:creator>
    <dc:date>2021-02-09T13:00:40Z</dc:date>
    <item>
      <title>minimal alfresco distribution</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/minimal-alfresco-distribution/m-p/140593#M37549</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;I started alfresco 6.2 via docker. It's possible to make a minimum distribution excluding Solr, ActiveMQ, all transformers, and Share? What are the properties to configure in the content service to exclude all it can be excluded?&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 16:48:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/minimal-alfresco-distribution/m-p/140593#M37549</guid>
      <dc:creator>lucastancapiano</dc:creator>
      <dc:date>2021-02-02T16:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: minimal alfresco distribution</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/minimal-alfresco-distribution/m-p/140594#M37550</link>
      <description>&lt;P&gt;Here is one with minimum but required configuration:&lt;/P&gt;
&lt;PRE&gt;# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose
version: "2"

services:
    alfresco:
        image: alfresco/alfresco-content-repository-community:6.2.1-A8
        mem_limit: 1500m
        environment:
            JAVA_OPTS: "
                -Ddb.driver=org.postgresql.Driver
                -Ddb.username=alfresco
                -Ddb.password=alfresco
                -Ddb.url=jdbc:postgresql://postgres:5432/alfresco
                -Dsolr.host=solr6
                -Dsolr.port=8983
                -Dsolr.secureComms=none
                -Dsolr.base.url=/solr
                -Dindex.subsystem.name=solr6
                -Dalfresco.host=localhost
                -Dalfresco.port=8080
                -Daos.baseUrlOverwrite=http://localhost:8080/alfresco/aos
                -Dmessaging.subsystem.autoStart=false
                -Ddeployment.method=DOCKER_COMPOSE
                -Dcsrf.filter.enabled=false
                -Dtransform.service.enabled=false
                -Dlocal.transform.service.enabled=false
                -Dlegacy.transform.service.enabled=false
                -Xms1500m -Xmx1500m
                "
                
        ports:
            - 8080:8080
            
    postgres:
        image: postgres:11.7
        mem_limit: 512m
        environment:
            - POSTGRES_PASSWORD=alfresco
            - POSTGRES_USER=alfresco
            - POSTGRES_DB=alfresco
        command: postgres -c max_connections=300 -c log_min_messages=LOG
        ports:
            - 5432:5432

    solr6:
        image: alfresco/alfresco-search-services:2.0.1
        mem_limit: 2g
        environment:
            #Solr needs to know how to register itself with Alfresco
            - SOLR_ALFRESCO_HOST=alfresco
            - SOLR_ALFRESCO_PORT=8080
            #Alfresco needs to know how to call solr
            - SOLR_SOLR_HOST=solr6
            - SOLR_SOLR_PORT=8983
            #Create the default alfresco and archive cores
            - SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive
            #HTTP by default
            - ALFRESCO_SECURE_COMMS=none
            - "SOLR_JAVA_MEM=-Xms2g -Xmx2g"
        ports:
            - 8083:8983 #Browser port&lt;/PRE&gt;
&lt;P&gt;If you are using Postgresql that is running on different host (that is open for connections) then you can remove that from docker compose and update the properties accordingly e.g.:&lt;/P&gt;
&lt;PRE&gt;# Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose
version: "2"

services:
    alfresco:
        image: alfresco/alfresco-content-repository-community:6.2.1-A8
        mem_limit: 1500m
        environment:
            JAVA_OPTS: "
                &lt;STRONG&gt;-Ddb.driver=org.postgresql.Driver
                -Ddb.username=alfresco
                -Ddb.password=alfresco&lt;/STRONG&gt;
&lt;STRONG&gt;                -Ddb.url=jdbc:postgresql://&lt;FONT color="#FF0000"&gt;192.168.2.32:5432&lt;/FONT&gt;/alfresco
&lt;/STRONG&gt;                -Dsolr.host=solr6
                -Dsolr.port=8983
                -Dsolr.secureComms=none
                -Dsolr.base.url=/solr
                -Dindex.subsystem.name=solr6
                -Dalfresco.host=localhost
                -Dalfresco.port=8080
                -Daos.baseUrlOverwrite=http://localhost:8080/alfresco/aos
                -Dmessaging.subsystem.autoStart=false
                -Ddeployment.method=DOCKER_COMPOSE
                -Dcsrf.filter.enabled=false
                -Dtransform.service.enabled=false
                -Dlocal.transform.service.enabled=false
                -Dlegacy.transform.service.enabled=false
                -Xms1500m -Xmx1500m
                "
                
        ports:
            - 8080:8080
            
     solr6:
        image: alfresco/alfresco-search-services:2.0.1
        mem_limit: 2g
        environment:
            #Solr needs to know how to register itself with Alfresco
            - SOLR_ALFRESCO_HOST=alfresco
            - SOLR_ALFRESCO_PORT=8080
            #Alfresco needs to know how to call solr
            - SOLR_SOLR_HOST=solr6
            - SOLR_SOLR_PORT=8983
            #Create the default alfresco and archive cores
            - SOLR_CREATE_ALFRESCO_DEFAULTS=alfresco,archive
            #HTTP by default
            - ALFRESCO_SECURE_COMMS=none
            - "SOLR_JAVA_MEM=-Xms2g -Xmx2g"
        ports:
            - 8083:8983 #Browser port&lt;/PRE&gt;
&lt;P&gt;Similarly you can even remove solr6 service from docker compose if you have an instance running on a different host (that is open for connections), make sure to update the properties accordingly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 22:40:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/minimal-alfresco-distribution/m-p/140594#M37550</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-02-02T22:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: minimal alfresco distribution</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/minimal-alfresco-distribution/m-p/140595#M37551</link>
      <description>&lt;P&gt;Part2-&lt;/P&gt;
&lt;P&gt;Please note that transformations won't work after removing AMQ and tranformation services.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 22:42:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/minimal-alfresco-distribution/m-p/140595#M37551</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-02-02T22:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: minimal alfresco distribution</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/minimal-alfresco-distribution/m-p/140596#M37552</link>
      <description>&lt;P&gt;Thank you. Can we put share inside the alfresco container?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 13:00:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/minimal-alfresco-distribution/m-p/140596#M37552</guid>
      <dc:creator>lucastancapiano</dc:creator>
      <dc:date>2021-02-09T13:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: minimal alfresco distribution</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/minimal-alfresco-distribution/m-p/140597#M37553</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/78314"&gt;@lucastancapiano&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thank you. Can we put share inside the alfresco container?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes, you can do it. You need to make sure that properties on &lt;A href="https://github.com/Alfresco/acs-deployment/blob/master/docker-compose/community-docker-compose.yml#L36" target="_self" rel="nofollow noopener noreferrer"&gt;share&lt;/A&gt; and &lt;A href="https://github.com/Alfresco/acs-deployment/blob/master/docker-compose/community-docker-compose.yml#L65" target="_self" rel="nofollow noopener noreferrer"&gt;alfresco&lt;/A&gt; services are appropriate in order for them to connect to each other.&lt;/P&gt;
&lt;P&gt;Check these links for reference:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/acs-deployment/blob/master/docker-compose/6.2.N-docker-compose.yml#L88" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/acs-deployment/blob/master/docker-compose/6.2.N-docker-compose.yml#L88&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/acs-deployment/blob/master/docker-compose/community-docker-compose.yml" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/acs-deployment/blob/master/docker-compose/community-docker-compose.yml&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 13:21:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/minimal-alfresco-distribution/m-p/140597#M37553</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-02-09T13:21:36Z</dc:date>
    </item>
  </channel>
</rss>

