feat: 完成 Docker DOCX 与可选字体包部署链

This commit is contained in:
SkyJourney
2026-08-01 08:56:20 +08:00
parent 7f2c169405
commit 3081c02887
8 changed files with 577 additions and 9 deletions
+3
View File
@@ -19,8 +19,11 @@ services:
PDF_CONCURRENCY: "${PDF_CONCURRENCY:-1}"
PDF_MAX_QUEUE: "${PDF_MAX_QUEUE:-4}"
PDF_TIMEOUT_MS: "${PDF_TIMEOUT_MS:-120000}"
APP_VERSION: "${MD_TO_PDF_APP_VERSION:-0.6.0}"
FONT_PACK_ROOT: /app/.local/font-packs
volumes:
- "${MD_TO_PDF_THEME_DIR:-../.local/themes}:/app/.local/themes:ro"
- "${MD_TO_PDF_FONT_PACK_DIR:-../.local/font-packs}:/app/.local/font-packs:ro"
shm_size: "1gb"
security_opt:
- no-new-privileges:true