Actual worker differentiation
This commit is contained in:
@@ -32,6 +32,7 @@ services:
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
||||
# Main worker: handles downloads, indexing, RSS, OWUI, etc. (no heavy Whisper)
|
||||
podx-worker:
|
||||
build: ./app
|
||||
container_name: podx-worker
|
||||
@@ -71,6 +72,7 @@ services:
|
||||
extra_hosts:
|
||||
- host.docker.internal:host-gateway
|
||||
|
||||
# Transcribe-only worker: listens to the "transcribe" queue and runs Whisper jobs
|
||||
podx-worker-transcribe:
|
||||
build: ./app
|
||||
container_name: podx-worker-transcribe
|
||||
@@ -150,6 +152,7 @@ services:
|
||||
# - /mnt/secure/cookies.txt:/config/cookies.txt:ro
|
||||
restart: unless-stopped
|
||||
|
||||
# Scanner: watches /library and enqueues jobs (heavy jobs go to "transcribe" queue)
|
||||
podx-scanner:
|
||||
build: ./app
|
||||
container_name: podx-scanner
|
||||
@@ -160,6 +163,7 @@ services:
|
||||
REDIS_URL: redis://redis:6379/0
|
||||
LIBRARY_ROOT: /library
|
||||
TRANSCRIPT_ROOT: /transcripts
|
||||
TRANSCRIBE_QUEUE: transcribe
|
||||
SCAN_INTERVAL: 30
|
||||
JOB_TIMEOUT: ${JOB_TIMEOUT:-14400}
|
||||
JOB_TTL: ${JOB_TTL:-86400}
|
||||
|
Reference in New Issue
Block a user