Usage:
pdf-converter WORKDIR [flags]
Flags:
-h, --help help for pdf-converter
--listen string bind address of the HTTP server (default ":8080")
--logfile string Log filename
--logformat string Log format [plain,logfmt,json]
--loglevel string Log level [critical,error,warning,info,debug]
--max-convert-time duration the maximum time allowed for conversion (default 3m0s)
--max-length int the maximum length of the uploaded contents (default 1073741824)
--max-parallel int the maximum parallel conversions. 0 for unlimited parallelism
pdf-converter
This directory contains a Dockerfile to convert files to PDF using LibreOffice.
Image registries
Usage
Run conversion server
Try it using
curl
:See docs/api.md for the HTTP API.
Run LibreOffice directly
To convert
$HOME/work/foo.pptx
directly,Metrics
pdf-converter
exports metrics for Prometheus at/metrics
endpoint.Read docs/metrics.md for details.
pdf-converter
command referenceRun HTTP server to convert Office files to PDF