From 595112b652a0a45230256ed3e5176c13c94c9d39 Mon Sep 17 00:00:00 2001 From: sascha Date: Fri, 17 Jul 2026 19:43:52 +0200 Subject: [PATCH] feat: pgs2srt compose with /tdarr NFS volume for FileFlows integration --- fileflows/pgs2srt-compose.yaml | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 fileflows/pgs2srt-compose.yaml diff --git a/fileflows/pgs2srt-compose.yaml b/fileflows/pgs2srt-compose.yaml new file mode 100644 index 0000000..c57604c --- /dev/null +++ b/fileflows/pgs2srt-compose.yaml @@ -0,0 +1,39 @@ +services: + pgs2srt: + build: . + image: pgs2srt:latest + container_name: pgs2srt + restart: unless-stopped + ports: + - "8095:8000" + environment: + - MEDIA_ROOT=/media + - LANGS=ger,eng + - PGS2SRT_DB=/data/pgs2srt.db + - NVIDIA_VISIBLE_DEVICES=all + - NVIDIA_DRIVER_CAPABILITIES=compute,utility + volumes: + # Langform mit bind-propagation rshared: Container bekommt mergerfs-Mounts + # mit, auch wenn sie NACH Container-Start erscheinen (z.B. nach Host-Reboot). + # Voraussetzung: /mnt/media ist auf dem Host "shared" (geprueft 10.07.2026). + - type: bind + source: /mnt/media + target: /media + bind: + propagation: rshared + - ./data:/data # queue-db persistent + # NEU 17.07.2026: tdarr-NFS-Volume fuer FileFlows-Integration + # pgs2srt muss /tdarr/converted/... sehen, um dort OCR+Strip nach Finalize_Move auszufuehren. + - tdarr:/tdarr + deploy: + resources: + reservations: + devices: + - driver: nvidia + count: 1 + capabilities: [gpu] + +volumes: + tdarr: + name: tdarr + external: true \ No newline at end of file