overleaf: keep tlmgr packages across image updates

This commit is contained in:
Goyban
2026-08-25 14:03:48 +02:00
parent ee1afa4231
commit fa891a6318
2 changed files with 57 additions and 0 deletions
+4
View File
@@ -18,6 +18,10 @@ services:
volumes:
- ${DATA_PATH:-./data}/overleaf:/var/lib/overleaf
# TEXMFHOME. Packages installed with `tlmgr --usermode install` land here
# instead of inside the image, so they survive an image update. See the
# README -- without this, every upgrade silently drops them.
- ${DATA_PATH:-./data}/texmf:/root/texmf
environment:
OVERLEAF_APP_NAME: ${OVERLEAF_APP_NAME:-Overleaf}