This service can convert documents into pdf and html using openoffice.
I am having problems under dockerizated build.
It works locally.
First of all, you must install oppenoffice. Then run it as a service.
Ex:
/opt/openoffice4/program/soffice -headless -nologo -nofirststartwizard -accept="socket,host=127.0.0.1,port=8100;urp" &
Once you finished. You can run the application:
mvn clean spring-boot:run -DskipTests
If you want to try running it under a container you can build it using maven.
Although when running it under a container you will see that the application can't connect with the openoffice service defined into run.sh.
# building and running a container.
mvn package -DskipTests docker:build
# running
docker-compose -f ./src/main/docker/docker-compose.yml up
When running the application. You can try it using the swagger interface: