diff options
| author | Grail Finder <wohilas@gmail.com> | 2025-12-06 13:10:08 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2025-12-07 13:22:07 +0300 |
| commit | ecd7fdee551cb43d17a79bea1f76cc263598d58c (patch) | |
| tree | 5ea6164f057506ec6732602237d0448fa1e04f5c /docker-compose.yml | |
| parent | 0f3baa4f8b2e158e446ba93d83b1b9c19a96bb1d (diff) | |
Feat: dockerfiles
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..81a6d9d --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,41 @@ +services: + # Whisper.cpp STT service + whisper: + image: ghcr.io/ggml-org/whisper.cpp:main + container_name: whisper-stt + ports: + - "8081:8081" + volumes: + - ./models:/app/models + - ./audio:/app/audio + working_dir: /app + entrypoint: "" + command: ["./build/bin/whisper-server", "-m", "/app/models/ggml-tiny.en.bin", "-t", "4", "-p", "1", "--port", "8081", "--host", "0.0.0.0"] + environment: + - WHISPER_LOG_LEVEL=3 + # Restart policy in case the service fails + restart: unless-stopped + + # Kokoro-FastAPI TTS service + kokoro-tts: + image: ghcr.io/remsky/kokoro-fastapi-cpu:latest + container_name: kokoro-tts + ports: + - "8880:8880" + environment: + - API_LOG_LEVEL=INFO + # For GPU support, uncomment the following lines: + # deploy: + # resources: + # reservations: + # devices: + # - driver: nvidia + # count: 1 + # capabilities: [gpu] + restart: unless-stopped + +volumes: + models: + driver: local + audio: + driver: local
\ No newline at end of file |
