Public Repository

Last pushed: 6 months ago
Short Description
A simple document converter web service using JODConverter.
Full Description

How to use?

Startup

Use the following docker-compose.yml

version: "2"

services:
    jodconverter:
        image: chunhui/jodconverter
        ports:
            - "9000:8080"
        volumes:
            - temp-volume:/usr/local/tomcat/temp
        links:
            - office
    office:
        image: xcgd/libreoffice
        volumes:
            - temp-volume:/usr/local/tomcat/temp
volumes:
    temp-volume:

Use in Browser

Open http://localhost:9000/ in your browser

Use curl

curl -v -X POST -F 'file=@1.ppt' 'http://localhost:9000/v1/_to/pdf' > 1.pdf
Docker Pull Command
Owner
chunhui

Comments (0)