Documize conversion service handling Word document import and PDF generation
100K+
docker run -d --name="documize-conversion" -p 8080:80 documize/conversion:3.4.0
Note the port mappings as 8080 -- this should be where you can see if all is well like so:
http://localhost:8080/api/version
It should display "3.4.0".
Finally, point your Documize web app at this container by following the instructions:
If you need to re-pull the Docker image, execute these commands:
docker stop documize-conversion docker rm documize-conversion docker pull documize/conversion:3.4.0
If you want to redirect errors to syslog then specify your syslog endpoint like so:
docker run -d --name="conversion" -p 8080:80 --log-driver=syslog --log-opt syslog-address=udp://XXXXX:ZZZ documize/conversion:3.4.0
It is also recommended that Docker be given the IP address of your DNS server to help with domain name resolution (note the --dns switch):
docker run -d --name="documize-conversion" -p 8080:80 --dns=DNS_SERVER_IP documize/conversion:3.4.0
Run this command to get a command prompt inside the running container:
docker exec -it documize-conversion /bin/bash
And then have a peek at the log file:
cat documize-pdf.log
Content type
Image
Digest
Size
1.2 GB
Last updated
over 4 years ago
docker pull documize/conversion:3.4.0