Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The translate5 docker installation manual contains a docker-compose configuration file for all services and more advanced information.


Code Block
languagebash
# with the execution (and download) of the following docker containers you agree the licenses of the software in the containers! 
docker run -d --restart unless-stopped --name visualbrowser -p 127.0.0.2:3000:3000/tcp -e CONNECTION_TIMEOUT=600000 -e DEFAULT_IGNORE_HTTPS_ERRORS=true -e MAX_PAYLOAD_SIZE=50mb browserless/chrome
docker run -d --restart unless-stopped --name pdfconverter -p 127.0.0.2:8086:8086/tcp translate5/pdfconverter

# https://stackoverflow.com/questions/27937185/assign-static-ip-to-docker-container
echo 172.17.0.3      visualbrowser
127.0.0.2       pdfconverter
 


Code Block
titleAdd to your apache vhost of translate5
    Alias /visual "/PATH_TO_TRANSLATE5/data/visual"
    <Directory "/PATH_TO_TRANSLATE5/data/visual">
        AllowOverride All
        Options Indexes FollowSymLinks
        # Options Indexes FollowSymLinks SymLinksIfOwnerMatch
        Order allow,deny
        Allow from all
    </Directory>


- docker pdfconverter & browserless/chrome

- configuration of them! 

- apache change needed for browserless/chrome

TO BE DOCUMENTED:


Config


The "runtimeOptions.plugins.VisualReview.shellCommandGoogleChrome" is removed and the docker-url must be set in "runtimeOptions.plugins.VisualReview.dockerizedHeadlessChromeUrl" to continue converting PDFs