To deploy configurations on the T-Engine side copy the JSON file, for example custom_pipelines.json into the T-Router container. This is usually done by creating a custom image via a Dockerfile. Then 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="/custom_pipelines.json"
Or by changing the Docker Compose file as shown below:
transform-router:
mem_limit: 512m
image: quay.io/alfresco/alfresco-transform-router:4.1.0
environment:
JAVA_OPTS: " -XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"
ACTIVEMQ_URL: "nio://activemq:61616"
TRANSFORMER_ROUTES_ADDITIONAL_HTML_VIA_TXT: "/custom_pipelines.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