feat: pgs2srt compose with /tdarr NFS volume for FileFlows integration
This commit is contained in:
parent
88001b1ce0
commit
595112b652
1 changed files with 39 additions and 0 deletions
39
fileflows/pgs2srt-compose.yaml
Normal file
39
fileflows/pgs2srt-compose.yaml
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue