39 lines
No EOL
1.1 KiB
YAML
39 lines
No EOL
1.1 KiB
YAML
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 |