diff --git a/playbooks/apps/all.yaml b/playbooks/apps/all.yaml index b29fa9d..e3302fd 100644 --- a/playbooks/apps/all.yaml +++ b/playbooks/apps/all.yaml @@ -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] diff --git a/playbooks/apps/files/voice-pipeline/docker-compose.yaml b/playbooks/apps/files/voice-pipeline/docker-compose.yaml new file mode 100644 index 0000000..e99d399 --- /dev/null +++ b/playbooks/apps/files/voice-pipeline/docker-compose.yaml @@ -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 diff --git a/playbooks/apps/voice-pipeline.yaml b/playbooks/apps/voice-pipeline.yaml new file mode 100644 index 0000000..2ae54e6 --- /dev/null +++ b/playbooks/apps/voice-pipeline.yaml @@ -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