<?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: How to deploy amps on dockered Alfresco? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122082#M33469</link>
    <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/23551"&gt;@joko71&lt;/A&gt;&amp;nbsp; Have a look at this thread, it may be helpful:&amp;nbsp;&lt;A href="https://github.com/Alfresco/acs-community-deployment/issues/131" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/acs-community-deployment/issues/131&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Steps to make use of docker-compose and dockerfile in combination to deploy custom amps/jar/configs etc:&amp;nbsp;&lt;A href="https://github.com/Alfresco/acs-community-deployment/issues/131#issuecomment-691300550" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/acs-community-deployment/issues/131#issuecomment-691300550&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 May 2021 14:01:42 GMT</pubDate>
    <dc:creator>abhinavmishra14</dc:creator>
    <dc:date>2021-05-24T14:01:42Z</dc:date>
    <item>
      <title>How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122077#M33464</link>
      <description>&lt;P&gt;This is a continuation from&amp;nbsp;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/prototyping-latest-alfresco-on-docker-on-centos-7/td-p/306617" target="_blank" rel="noopener nofollow noreferrer"&gt;this&lt;/A&gt;&amp;nbsp;prototyping effort.&lt;/P&gt;&lt;P&gt;I've prepared amp volumes for my dockered Alfresco and Share, and test amps for both to test amp deployment.&lt;/P&gt;&lt;P&gt;Yes, amp packages were copied in amps and amps_share folders, but not deployed AFAIK.&lt;/P&gt;&lt;P&gt;Have I missed some step?&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 11:39:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122077#M33464</guid>
      <dc:creator>joko71</dc:creator>
      <dc:date>2021-05-24T11:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122078#M33465</link>
      <description>&lt;P&gt;Probably you missed this line in your Dockerfile extensions:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/templates/images/alfresco/Dockerfile#L13" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-docker-installer/blob/master/generators/app/templates/images/alfresco/Dockerfile#L13&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 11:41:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122078#M33465</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-05-24T11:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122079#M33466</link>
      <description>&lt;P&gt;Thanks, but can it be done via&amp;nbsp;docker-compose.yml file? I've used only docker-compose so far, I haven't edited any Dockerfile, and I don't know how to do it if images are downloaded and handled by docker-compose.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 11:53:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122079#M33466</guid>
      <dc:creator>joko71</dc:creator>
      <dc:date>2021-05-24T11:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122080#M33467</link>
      <description>&lt;P&gt;It looks like default Docker Image deploys AMPS located in ${TOMCAT_DIR}/amps&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/Alfresco/acs-community-packaging/blob/master/docker-alfresco/Dockerfile#L22" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/acs-community-packaging/blob/master/docker-alfresco/Dockerfile#L22&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So you can attach a Docker Volume to this path and that should work.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 12:08:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122080#M33467</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-05-24T12:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122081#M33468</link>
      <description>&lt;P&gt;I configured volumes and AMPs are in amps and amps_share folders in containers, but not deployed.&lt;/P&gt;&lt;P&gt;I tried to do it outside, with script, but I got boggled in syntax quagmire:&lt;/P&gt;&lt;PRE&gt;#! /bin/sh

echo "Alfresco..."

#docker exec -it docker-alfresco_alfresco_1 'java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt-6.0.jar install /usr/local/tomcat/amps -directory -nobackup -force'
docker exec docker-alfresco_alfresco_1 bash -c "java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt-6.0.jar \"install /usr/local/tomcat/amps -directory -nobackup -force\""

echo "Share..."

#docker exec -it docker-alfresco_share_1 'java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt-6.0.jar install /usr/local/tomcat/amps_share -directory -nobackup -force'
docker exec docker-alfresco_share_1 bash -c "java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt-6.0.jar \"install /usr/local/tomcat/amps_share -directory -nobackup -force\""&lt;/PRE&gt;&lt;P&gt;Interesting that about deploying in Dockerfile, maybe deploys were tried but unsuccessful.&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 12:50:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122081#M33468</guid>
      <dc:creator>joko71</dc:creator>
      <dc:date>2021-05-24T12:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122082#M33469</link>
      <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/23551"&gt;@joko71&lt;/A&gt;&amp;nbsp; Have a look at this thread, it may be helpful:&amp;nbsp;&lt;A href="https://github.com/Alfresco/acs-community-deployment/issues/131" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/acs-community-deployment/issues/131&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Steps to make use of docker-compose and dockerfile in combination to deploy custom amps/jar/configs etc:&amp;nbsp;&lt;A href="https://github.com/Alfresco/acs-community-deployment/issues/131#issuecomment-691300550" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/acs-community-deployment/issues/131#issuecomment-691300550&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 14:01:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122082#M33469</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2021-05-24T14:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122083#M33470</link>
      <description>&lt;P&gt;I find it easiest to add the dependency in the platform-docker pom file, which will just push the dependencies into the target &amp;gt; extension folder.&lt;/P&gt;&lt;P&gt;Edit: Just realized your interest is not with SDK.&amp;nbsp; Here is how I am doing it:&lt;/P&gt;&lt;P&gt;export TOMCAT_DIR=/usr/local/tomcat&lt;BR /&gt;export JAVA_DIR=/usr/java/default/bin&lt;/P&gt;&lt;P&gt;docker cp ${DEPLOYMENT_LOC}/alfresco-outlook-repository-2.8.0.amp dams_alfresco_1:${TOMCAT_DIR}/amps&lt;/P&gt;&lt;P&gt;ocker cp ${DEPLOYMENT_LOC}/alfresco-outlook-share-2.8.0.amp dams_share_1:${TOMCAT_DIR}/amps_share/&lt;/P&gt;&lt;P&gt;docker exec -u 0 dams_share_1 ${JAVA_DIR}/java -jar ${TOMCAT_DIR}/alfresco-mmt/alfresco-mmt-6.0.jar install ${TOMCAT_DIR}/amps_share ${TOMCAT_DIR}/webapps/share -directory -nobackup -force&lt;BR /&gt;docker exec -u 0 dams_alfresco_1 ${JAVA_DIR}/java -jar ${TOMCAT_DIR}/alfresco-mmt/alfresco-mmt-6.0.jar install ${TOMCAT_DIR}/amps ${TOMCAT_DIR}/webapps/alfresco -directory -nobackup -force&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 19:17:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122083#M33470</guid>
      <dc:creator>SmallHeathTommy</dc:creator>
      <dc:date>2021-05-24T19:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122084#M33471</link>
      <description>&lt;P&gt;I've made some kind of progress, I managed to execute these two commands inside the containers without error:&lt;/P&gt;&lt;PRE&gt;java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt-6.0.jar install /usr/local/tomcat/amps/pdf-toolkit-repo-1.4.0.amp /usr/local/tomcat/webapps/alfresco -directory -nobackup -force

java -jar /usr/local/tomcat/alfresco-mmt/alfresco-mmt-6.0.jar install /usr/local/tomcat/amps_share/pdf-toolkit-share-1.4.0.amp /usr/local/tomcat/webapps/share -directory -nobackup -force&lt;/PRE&gt;&lt;P&gt;Updates from before are the specific amp in the command and the exploded WAR location.&lt;/P&gt;&lt;P&gt;But, no trace of deployed amp inside the folder structure.&lt;/P&gt;&lt;P&gt;I've noticed that the structure of these amps are obsolete maybe, not in accordance to the new structure.&lt;/P&gt;&lt;P&gt;Can you give me an example of already built amp which is in accordance with the Alfresco 7.0 structure? TIA&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 05:56:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122084#M33471</guid>
      <dc:creator>joko71</dc:creator>
      <dc:date>2021-05-25T05:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122085#M33472</link>
      <description>&lt;P&gt;You can do that in this way.&lt;/P&gt;
&lt;P&gt;Once the Docker Container is started, you can't modify the WAR (or deployed webapp) and reload the application.&lt;/P&gt;
&lt;P&gt;You need to learn how to extend official Dockerfile in order to apply AMPS / JARS to Alfresco Web Applications.&lt;/P&gt;
&lt;P&gt;Or you can use Alfresco Docker Installer project, that does this for you.&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 06:31:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122085#M33472</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-05-25T06:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122086#M33473</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/23551"&gt;@joko71&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately that reply from &lt;STRONG&gt;DavisHale1&lt;/STRONG&gt; (now banned) was spam - I've removed the comment &amp;amp; also edited out the hyperlink in your copied response.&lt;/P&gt;
&lt;P&gt;Sorry about that&amp;nbsp;&lt;img id="smileymad" class="emoticon emoticon-smileymad" src="https://connect.hyland.com/i/smilies/16x16_smiley-mad.png" alt="Smiley Mad" title="Smiley Mad" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 11:18:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122086#M33473</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2021-05-25T11:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122087#M33474</link>
      <description>&lt;P&gt;I've exported these folders to my volumes folder which are key for web script deployment:&lt;/P&gt;&lt;PRE&gt;docker cp docker-alfresco_alfresco_1:/usr/local/tomcat/shared/classes/alfresco/extension ./volumes/webscript_context
docker cp docker-alfresco_alfresco_1:/usr/local/tomcat/webapps/alfresco/WEB-INF/classes ./volumes/webscript_classes
docker cp docker-alfresco_alfresco_1:/usr/local/tomcat/webapps/alfresco/WEB-INF/lib ./volumes/webscript_libs&lt;/PRE&gt;&lt;P&gt;I'll try to deploy Java code, JARs and XML in their respective folders and see how it goes. Wish me luck!&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 12:54:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122087#M33474</guid>
      <dc:creator>joko71</dc:creator>
      <dc:date>2021-05-25T12:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122088#M33475</link>
      <description>&lt;P&gt;Again: I don't think this is the right way of doing that.&lt;/P&gt;
&lt;P&gt;You could do easilier by following some of the recommendations we gave you before.&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 15:25:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122088#M33475</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-05-25T15:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122089#M33476</link>
      <description>&lt;P&gt;I appreciate what you're saying, but rebuilding image every time code is updated it seems like overkill to me. If this fails, I can always revert.&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 05:36:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122089#M33476</guid>
      <dc:creator>joko71</dc:creator>
      <dc:date>2021-05-26T05:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122090#M33477</link>
      <description>&lt;P&gt;Update: This approach works.&lt;/P&gt;&lt;P&gt;I've made a test webscript and deployed it on my volumes and it works.&lt;/P&gt;&lt;P&gt;Only one has to be careful with Linux volume permissions, because Alfresco will complain and not work when docker-compose is started.&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 09:09:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122090#M33477</guid>
      <dc:creator>joko71</dc:creator>
      <dc:date>2021-05-26T09:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122091#M33478</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/23551"&gt;@joko71&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad you've found a workable solution! If you think this would be useful to other people, would you be willing to write up your method, etc?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Take care,&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 09:49:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122091#M33478</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2021-05-26T09:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy amps on dockered Alfresco?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122092#M33479</link>
      <description>&lt;P&gt;Maybe I will, it's still early to tell if this actually works. Everything is empty, Alfresco and a server which is to communicate with it.&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 11:03:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-deploy-amps-on-dockered-alfresco/m-p/122092#M33479</guid>
      <dc:creator>joko71</dc:creator>
      <dc:date>2021-05-26T11:03:14Z</dc:date>
    </item>
  </channel>
</rss>

