4Science / dspace-docker

Docker images for dspace & dspace-cris (experimental)
BSD 3-Clause "New" or "Revised" License
6 stars 8 forks source link

deployment in ROOT context #5

Closed olli-gold closed 6 years ago

olli-gold commented 6 years ago

This PR deploys the jspui webapp as root, so that the container user does not have to set the patch to /jspui (this will display a white page only by default).

Apparently this needs much more memory; on my test system I was not able to deploy the webapps with ROOT with 2 GB. Raising the memory limit to 4 GB solved this issue.

abollini commented 6 years ago

Hi Oliver, as discussed offline it is not really necessary to increase the memory and the deploy as root should be done using a different strategy (only one copy of the jspui webapp need to be visible to tomcat otherwise you waste memory loading it two times). Do you plan to update this PR or should I close it?

olli-gold commented 6 years ago

Hi Andrea,

right, I have understood the problem with the symbolic link at deployment. So I'm closing this PR.