Hint: This project has moved from eugenmayer/docker-image-jodconverter to jodconverter/docker-image-jodconverter-examples since it is just the better home for obvious reasons :)
Utilizes the example java projects of JODconverter to offer running examples within docker, e.g. to run JODconverter as a REST conversion GUI.
Other projects: - The examples here are based on the jodconverter-runtime docker image - office conversion, production leaning - see eugenmayer/officeconverter.
That's the variant with a web-GUI (see screenshot)
docker run --memory 512m --rm -p 8080:8080 ghcr.io/jodconverter/jodconverter-examples:gui
Now you can connect to http://localhost:8080 with a nice web-ui for conversion
Or you pick the variant a REST interface only
docker run --memory 512m --rm -p 8080:8080 ghcr.io/jodconverter/jodconverter-examples:rest
For more please check the wiki at https://github.com/jodconverter/jodconverter
ghcr.io/jodconverter/jodconverter-rutime
- OpenJDK 17: libreoffice included, also start scripts but now actual applicationsghcr.io/jodconverter/jodconverter-examples:gui
- OpenJDK 17: the WebGUI, spring based converterghcr.io/jodconverter/jodconverter-examples:rest
- OpenJDK 17: rest only variant
You can configure the docker images by mounting /etc/app/application.properties
and put whatever you like into them.
For example if you like to have 2 LibreOffice instances, you would put into the file
# amount of libreOffice instances to start - one for each given port. So this means 2
jodconverter.local.port-numbers: 2002, 2003
# change the tmp folder
jodconverter.local.working-dir: /tmp
# change upload sizes
spring.servlet.multipart.max-file-size: 5MB
spring.servlet.multipart.max-request-size: 5MB
# change the server port (where the REST app is listenting
server.port=8090
make build
make start-gui
# or
make start-rest
now see above under "Run" how to access it
All of those please forward to sbraconnier's jodconverter - he does the real work :)