vocero-s2s/docker-compose.yml
valenti b5f82fb48c
Some checks are pending
CI / ruff (push) Waiting to run
CI / mypy (push) Waiting to run
CI / pytest (push) Waiting to run
CI / package (push) Waiting to run
CI / Install smoke (${{ matrix.label }}) (linux, ubuntu-latest) (push) Blocked by required conditions
CI / Install smoke (${{ matrix.label }}) (macos-arm64, macos-14) (push) Blocked by required conditions
first git
2026-08-26 11:30:14 +00:00

73 lines
1.4 KiB
YAML

---
services:
llama:
image: ghcr.io/ggml-org/llama.cpp:server-cuda
command:
- -hf
- ggml-org/gemma-4-E4B-it-GGUF
- -np
- "2"
- -c
- "65536"
- -fa
- "on"
- --swa-full
- --host
- 0.0.0.0
- --port
- "8080"
ports:
- 8080:8080/tcp
volumes:
- ./cache/:/root/.cache/
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0']
capabilities: [gpu]
pipeline:
depends_on:
- llama
build:
context: .
dockerfile: ${DOCKERFILE:-Dockerfile}
command:
- speech-to-speech
- --mode
- socket
- --recv_host
- 0.0.0.0
- --send_host
- 0.0.0.0
- --llm_backend
- responses-api
- --model_name
- ggml-org/gemma-4-E4B-it-GGUF
- --responses_api_base_url
- http://llama:8080/v1
- --responses_api_api_key
- ""
- --init_chat_role
- system
- --init_chat_prompt
- "You are a helpful assistant"
expose:
- 12345/tcp
- 12346/tcp
ports:
- 12345:12345/tcp
- 12346:12346/tcp
volumes:
- ./cache/:/root/.cache/
deploy:
resources:
reservations:
devices:
- driver: nvidia
device_ids: ['0']
capabilities: [gpu]