bbhsky/pdf-converter from zrrrzzt/docker-unoconv-webservic thank!!!
95
Thanks for the project: zrrrzzt/docker-unoconv-webservic Added Chinese font support under some windows
$ docker run -d -p 80:3000 --name docker pull bbhsky/pdf-converter
Post the file you want to convert to the server and get the converted file in return. See all possible conversions on the unoconv website. API for the webservice is /unoconv/{format-to-convert-to} so a docx to pdf would be
$ curl --form [email protected] http://localhost/unoconv/pdf > myfile.pdf
To see all possible formats for convertion visit /unoconv/formats To see formats for a given type /unoconv/formats/{document|graphics|presentation|spreadsheet}
To see all versions of unoconv and dependencies lookup /unoconv/versions
Are we alive? /healthz
returns
{
uptime: 18.849
}
You can change the webservice port and filesize-limit by changing environment variables.
SERVER_PORT=3000
PAYLOAD_MAX_SIZE=104857600
TIMEOUT_SERVER=120000
TIMEOUT_SOCKET=140000
Change it in the Dockerfile or create an env-file and load it at containerstart
$ docker run --env-file=docker.env -d -p 80:3000 --name docker pull bbhsky/pdf-converter
MIT

This ugly robot ^_^
Content type
Image
Digest
Size
1.2 GB
Last updated
about 8 years ago
docker pull bbhsky/pdf-converter:1.0