- Copy the 0200-html-via-txt.json file into the Transform Router container - this is usually done by creating a custom image via a Dockerfile
- Export an environment variable pointing to the file location inside the
container.
- The variable name should have this pattern: TRANSFORMER_ROUTES_ADDITIONAL_<name>
- The variable can be defined inside the container:
export TRANSFORMER_ROUTES_ADDITIONAL_HTML_VIA_TXT="/0200-html-via-txt.json"
-
Or by changing the Docker Compose file as shown below:
transform-router: mem_limit: 512m image: quay.io/alfresco/alfresco-transform-router:1.4.0 environment: JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80" ACTIVEMQ_URL: "nio://activemq:61616" TRANSFORMER_ROUTES_ADDITIONAL_HTML_VIA_TXT: "/0200-html-via-txt.json" CORE_AIO_URL : "http://transform-core-aio:8090" FILE_STORE_URL: "http://shared-file-store:8099/alfresco/api/-default-/private/sfs/versions/1/file" ports: - 8095:8095 links: - activemq
For more information see the Configure chapter in the Alfresco Transform Service documentation.