05-24-2021 04:39 AM
This is a continuation from this prototyping effort.
I've prepared amp volumes for my dockered Alfresco and Share, and test amps for both to test amp deployment.
Yes, amp packages were copied in amps and amps_share folders, but not deployed AFAIK.
Have I missed some step?
05-24-2021 04:41 AM
Probably you missed this line in your Dockerfile extensions:
05-24-2021 04:53 AM
Thanks, but can it be done via 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.
05-24-2021 05:08 AM
It looks like default Docker Image deploys AMPS located in ${TOMCAT_DIR}/amps
https://github.com/Alfresco/acs-community-packaging/blob/master/docker-alfresco/Dockerfile#L22
So you can attach a Docker Volume to this path and that should work.
05-24-2021 05:50 AM
I configured volumes and AMPs are in amps and amps_share folders in containers, but not deployed.
I tried to do it outside, with script, but I got boggled in syntax quagmire:
#! /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\""
Interesting that about deploying in Dockerfile, maybe deploys were tried but unsuccessful.
Explore our Alfresco products with the links below. Use labels to filter content by product module.