add voice-pipeline

This commit is contained in:
Gabriel Augendre 2024-10-12 13:02:13 +02:00
parent 556fa6613c
commit 36a1fdd1f8
3 changed files with 34 additions and 0 deletions

View file

@ -18,4 +18,5 @@
- import_playbook: privatebin.yaml # noqa: name[play]
- import_playbook: shortener.yaml # noqa: name[play]
- import_playbook: test_headers.yaml # noqa: name[play]
- import_playbook: voice-pipeline.yaml # noqa: name[play]
- import_playbook: wallabag.yaml # noqa: name[play]

View file

@ -0,0 +1,22 @@
services:
piper:
image: rhasspy/wyoming-piper
restart: always
ports:
- '10200:10200'
volumes:
- './piper-data:/data'
command: --voice fr-siwis-medium
cpus: 1
mem_limit: 500m
whisper:
image: rhasspy/wyoming-whisper
restart: always
ports:
- '10300:10300'
volumes:
- './whisper-data:/data'
command: --model small --language fr --beam-size 10
cpus: 6
mem_limit: 8g

View file

@ -0,0 +1,11 @@
---
- name: Voice-pipeline
hosts: servers
gather_facts: false
tasks:
- name: Docker
ansible.builtin.include_role:
name: docker
vars:
docker_app_name: voice-pipeline