<?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 Docker Swarm in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/docker-swarm/m-p/105052#M29740</link>
    <description>&lt;P&gt;Looking to see if anyone has any experience deploy Alfresco 6.2 in Swarm on AWS.&amp;nbsp; If so can you share you docker-compose setup for this. We are starting out with the Alfresco sample docker-compose.yaml but it is not production ready.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;</description>
    <pubDate>Thu, 20 Aug 2020 13:22:04 GMT</pubDate>
    <dc:creator>rstoops</dc:creator>
    <dc:date>2020-08-20T13:22:04Z</dc:date>
    <item>
      <title>Docker Swarm</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/docker-swarm/m-p/105052#M29740</link>
      <description>&lt;P&gt;Looking to see if anyone has any experience deploy Alfresco 6.2 in Swarm on AWS.&amp;nbsp; If so can you share you docker-compose setup for this. We are starting out with the Alfresco sample docker-compose.yaml but it is not production ready.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 13:22:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/docker-swarm/m-p/105052#M29740</guid>
      <dc:creator>rstoops</dc:creator>
      <dc:date>2020-08-20T13:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Docker Swarm</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/docker-swarm/m-p/105053#M29741</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/19416"&gt;@rstoops&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Could I ask what your use case for using Swarm is please? I ask because it's not something we see very often.&lt;/P&gt;
&lt;P&gt;There is an old discussion that mentions using &lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/docker-alfresco-resources/td-p/6658" target="_self" rel="nofollow noopener noreferrer"&gt;Swarm&lt;/A&gt; and this &lt;A href="https://hub.alfresco.com/t5/alfresco-process-services/activiti-7-deep-dive-series-deploying-and-running-a-business/ba-p/288347" target="_self" rel="nofollow noopener noreferrer"&gt;Kubernetes Activiti 7 guide&lt;/A&gt; but not a lot more.&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 16:37:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/docker-swarm/m-p/105053#M29741</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-08-20T16:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Docker Swarm</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/docker-swarm/m-p/105054#M29742</link>
      <description>&lt;P&gt;My company has decided that our first AWS deploy of Alfresco 6.x is going to be done in Swarm since we are not ready for K8 as of yet.&lt;/P&gt;&lt;P&gt;We are using the docker-compose.yaml supplied by Alfresco as a starting point and tweaking it from there.&amp;nbsp; Unfortuantely, we don't have any expertise in either Swarm or K8.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 13:46:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/docker-swarm/m-p/105054#M29742</guid>
      <dc:creator>rstoops</dc:creator>
      <dc:date>2020-08-21T13:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Docker Swarm</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/docker-swarm/m-p/105055#M29743</link>
      <description>&lt;P&gt;The &lt;A href="https://github.com/Alfresco/acs-deployment/blob/master/docker-compose/docker-compose.yml" target="_blank" rel="noopener nofollow noreferrer"&gt;docker-compose.yml&lt;/A&gt; you get still on docker-compose version 2 which is not supported for swarm as far as i know. To use swarm, docker-compose.yml needs to be configured on version 3.x.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/acs-deployment/blob/master/docker-compose/docker-compose.yml" target="_blank" rel="noopener nofollow noreferrer"&gt;this docker-compose.yml&lt;/A&gt; has &lt;SPAN&gt;&lt;A href="https://github.com/Alfresco/acs-deployment/blob/master/docker-compose/docker-compose.yml#L16" target="_blank" rel="noopener nofollow noreferrer"&gt;mem_limit&lt;/A&gt; configuration for several services, which is also not supported in docker compose version 3.x and needs to be replaced with &lt;A href="https://docs.docker.com/compose/compose-file/#resources" target="_blank" rel="noopener nofollow noreferrer"&gt;deploy.resources&lt;/A&gt; config. All these gaps indicates that the docker-compose.yml supplied by alfresco is not swarm ready. But can be worked to make it compatible for swarm.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.docker.com/compose/compose-file/#compose-file-structure-and-examples" target="_blank" rel="noopener nofollow noreferrer"&gt;&lt;U&gt;Something like:&lt;/U&gt;&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;STRONG&gt;version: "&lt;A href="https://docs.docker.com/compose/compose-file/" target="_blank" rel="noopener nofollow noreferrer"&gt;3.8&lt;/A&gt;"
&lt;/STRONG&gt;
services:
    alfresco:
        image: alfresco/alfresco-content-repository:6.2.1
        &lt;STRONG&gt;&lt;A href="https://docs.docker.com/compose/compose-file/#deploy" target="_blank" rel="noopener nofollow noreferrer"&gt;deploy&lt;/A&gt;:
          resources:
            limits:
              memory: &lt;SPAN&gt;1700m&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/PRE&gt;
&lt;P&gt;Docker has provided a "&lt;A href="https://docs.docker.com/compose/compose-file/compose-versioning/#compatibility-mode" target="_blank" rel="noopener nofollow noreferrer"&gt;--compatibility&lt;/A&gt;" mode option for docker-compose in order to use v3.x docker-compose.yml without swarm while working on dev activities, it is not recommended for production. You will get a warning when try to use v3.x docker-compose.yml to &lt;A href="https://docs.docker.com/compose/reference/up/" target="_blank" rel="noopener nofollow noreferrer"&gt;launch containers&lt;/A&gt; without swarm.&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;To silent the warning, following command can be used, if testing without swarm:&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE&gt;docker-compose -f ./docker-compose.yml --compatibility up&lt;BR /&gt;&lt;BR /&gt;&lt;U&gt;or -- if there are custom build configurations defined in docker-compose.&lt;/U&gt;&lt;BR /&gt;&lt;BR /&gt;docker-compose -f ./docker-compose.yml --compatibility up --build&lt;/PRE&gt;

&lt;P&gt;Once you changed the &lt;A href="https://docs.docker.com/compose/compose-file/#deploy" target="_blank" rel="noopener nofollow noreferrer"&gt;docker-compose.yml&lt;/A&gt; to v3, it will be ready for &lt;A href="https://docs.docker.com/engine/swarm/stack-deploy/" target="_blank" rel="noopener nofollow noreferrer"&gt;swarm&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2020 14:17:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/docker-swarm/m-p/105055#M29743</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-08-21T14:17:25Z</dc:date>
    </item>
  </channel>
</rss>

