GPU fixes
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
services:
|
||||
podx-web:
|
||||
build: ./app
|
||||
build:
|
||||
context: ./app
|
||||
args:
|
||||
BASE_IMAGE: ${GPU_BASE_IMAGE:-python:3.11-slim}
|
||||
container_name: podx-web
|
||||
env_file: [.env]
|
||||
environment:
|
||||
@@ -56,7 +59,10 @@ services:
|
||||
|
||||
# Main worker: handles downloads, indexing, RSS, OWUI, etc. (no heavy Whisper)
|
||||
podx-worker:
|
||||
build: ./app
|
||||
build:
|
||||
context: ./app
|
||||
args:
|
||||
BASE_IMAGE: ${GPU_BASE_IMAGE:-python:3.11-slim}
|
||||
container_name: podx-worker
|
||||
command: ["rq", "worker", "-u", "redis://redis:6379/0", "default"]
|
||||
env_file: [.env]
|
||||
@@ -121,7 +127,10 @@ services:
|
||||
|
||||
# Transcribe-only worker: listens to the "transcribe" queue and runs Whisper jobs
|
||||
podx-worker-transcribe:
|
||||
build: ./app
|
||||
build:
|
||||
context: ./app
|
||||
args:
|
||||
BASE_IMAGE: ${GPU_BASE_IMAGE:-python:3.11-slim}
|
||||
container_name: podx-worker-transcribe
|
||||
command: ["rq", "worker", "-u", "redis://redis:6379/0", "transcribe"]
|
||||
env_file: [.env]
|
||||
@@ -257,7 +266,10 @@ services:
|
||||
|
||||
# Scanner: watches /library and enqueues jobs (heavy jobs go to "transcribe" queue)
|
||||
podx-scanner:
|
||||
build: ./app
|
||||
build:
|
||||
context: ./app
|
||||
args:
|
||||
BASE_IMAGE: ${GPU_BASE_IMAGE:-python:3.11-slim}
|
||||
container_name: podx-scanner
|
||||
command: ["python", "scanner.py"]
|
||||
env_file: [.env]
|
||||
@@ -282,7 +294,10 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
podx-rss:
|
||||
build: ./app
|
||||
build:
|
||||
context: ./app
|
||||
args:
|
||||
BASE_IMAGE: ${GPU_BASE_IMAGE:-python:3.11-slim}
|
||||
container_name: podx-rss
|
||||
command: ["python", "rss_ingest.py"]
|
||||
env_file: [.env]
|
||||
|
Reference in New Issue
Block a user