deploy standalone ASR pipeline on tools-pve

This commit is contained in:
Codex
2026-09-18 02:32:14 -07:00
parent f30f72b295
commit b23f00f41a
38 changed files with 182773 additions and 0 deletions
@@ -0,0 +1,50 @@
services:
asr-web:
image: tools-asr-pipeline:2026-09-18
pull_policy: never
build:
context: .
dockerfile: Dockerfile
container_name: tools-asr-web
restart: unless-stopped
init: true
env_file:
- /opt/asr-pipeline/.env
environment:
ASR_ROLE: web
ports:
- "192.168.50.49:8788:8788"
volumes:
- /mnt/truenas/personal/ASR-Pipeline:/data
- /opt/asr-pipeline/state:/state
healthcheck:
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:8788/health"]
interval: 30s
timeout: 5s
retries: 3
start_period: 20s
security_opt:
- no-new-privileges:true
asr-worker:
image: tools-asr-pipeline:2026-09-18
pull_policy: never
container_name: tools-asr-worker
restart: unless-stopped
init: true
env_file:
- /opt/asr-pipeline/.env
environment:
ASR_ROLE: worker
command: ["python", "-m", "asrservice.worker"]
volumes:
- /mnt/truenas/personal/ASR-Pipeline:/data
- /opt/asr-pipeline/state:/state
healthcheck:
test: ["CMD", "python", "-m", "asrservice.healthcheck"]
interval: 30s
timeout: 5s
retries: 3
start_period: 20s
security_opt:
- no-new-privileges:true