mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-11-24 00:08:02 +01:00
add voice-pipeline
This commit is contained in:
parent
556fa6613c
commit
36a1fdd1f8
3 changed files with 34 additions and 0 deletions
|
@ -18,4 +18,5 @@
|
||||||
- import_playbook: privatebin.yaml # noqa: name[play]
|
- import_playbook: privatebin.yaml # noqa: name[play]
|
||||||
- import_playbook: shortener.yaml # noqa: name[play]
|
- import_playbook: shortener.yaml # noqa: name[play]
|
||||||
- import_playbook: test_headers.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]
|
- import_playbook: wallabag.yaml # noqa: name[play]
|
||||||
|
|
22
playbooks/apps/files/voice-pipeline/docker-compose.yaml
Normal file
22
playbooks/apps/files/voice-pipeline/docker-compose.yaml
Normal 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
|
11
playbooks/apps/voice-pipeline.yaml
Normal file
11
playbooks/apps/voice-pipeline.yaml
Normal 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
|
Loading…
Reference in a new issue