05-24-2021 07: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-25-2021 08:54 AM
I've exported these folders to my volumes folder which are key for web script deployment:
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
I'll try to deploy Java code, JARs and XML in their respective folders and see how it goes. Wish me luck!
05-25-2021 11:25 AM
Again: I don't think this is the right way of doing that.
You could do easilier by following some of the recommendations we gave you before.
05-26-2021 01:36 AM
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.
05-26-2021 05:09 AM
Update: This approach works.
I've made a test webscript and deployed it on my volumes and it works.
Only one has to be careful with Linux volume permissions, because Alfresco will complain and not work when docker-compose is started.
05-26-2021 05:49 AM
Hi @joko71
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?
Take care,
05-26-2021 07:03 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.