You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Since version 1.9.8.2.10 DMS uses external worker container to create previews and parse emails. To deploy it correctly in existing environments, deploy_script must be updated to the latest preview branch and next lines must be added to containers.conf and commands.conf. Please use the latest image version that is available at the moment of deployment.

Please use preview tag for nuxeo and cb image versions before 1.9.8.2.10 is released.

The procedure:

  • Edit the containers.conf and commands.conf by inserting the code lines as seen below
  • Configure the right nuxeo and cb image
  • go to deploy_script, use command "git pull" before then changing branch.
    • Currently, (as of 23.02.2023) it is necessary to use the "1.9.8.2.10-rc" branch tag, as it is the only branch where the deploy script includes the worker container.
  • Change branch (git checkout <branchtag>)
  • Do a proper redeployment of the system


containers.conf
# Settings of WORKER container
WORKER_IMAGE_VERSION="1.1-rc"
WORKER_IMAGE_NAME="paceip/dms_worker"
WORKER_CONTAINER_NAME="worker"
commands.conf
elif [ ${1} = "WORKER" ]
then
  add_volume ${NUXEO_TEMPDIR} "/tmp"
  add_volume ${NUXEO_WINFONTDIR} "/usr/share/fonts/custom-fonts"
  add_volume ${NUXEO_WINFONTDIR} "/root/.windows_fonts"
  add_port 8081
  • No labels