mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 08:32:16 +01:00
15 lines
435 B
YAML
15 lines
435 B
YAML
port: 3000
|
|
logs:
|
|
level: "DEBUG"
|
|
format: "text"
|
|
commands:
|
|
html:
|
|
timeout: 30
|
|
template: "xvfb-run -e /dev/stdout wkhtmltopdf {{ FilePath }} {{ .ResultFilePath }}"
|
|
office:
|
|
timeout: 30
|
|
template: "unoconv --format pdf --output \"{{ .ResultFilePath }}\" \"{{ .FilePath }}\""
|
|
merge:
|
|
timeout: 30
|
|
template: "pdftk {{ range $filePath := .FilesPaths }} {{ $filePath }} {{ end }} cat output {{ .ResultFilePath }}"
|