mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-08 16:42:15 +01:00
21 lines
560 B
YAML
21 lines
560 B
YAML
port: 3000
|
|
logs:
|
|
level: "DEBUG"
|
|
format: {
|
|
value: [
|
|
...
|
|
}
|
|
commands:
|
|
markdown:
|
|
timeout: 30
|
|
template: "markdown-pdf {{ .FilePath }} -o {{ .ResultFilePath }}"
|
|
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 }}"
|