2023-11-30 00:37:17 +00:00
|
|
|
# [Faster-whisper](https://github.com/SYSTRAN/faster-whisper) is a
|
|
|
|
# reimplementation of OpenAI's Whisper model using CTranslate2, which is a fast
|
2023-12-01 00:40:41 +00:00
|
|
|
# inference engine for Transformer models. This container provides a Wyoming
|
|
|
|
# protocol server for faster-whisper.
|
2023-11-30 00:37:17 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
version: "2.1"
|
|
|
|
services:
|
|
|
|
faster-whisper:
|
|
|
|
image: ghcr.io/linuxserver/faster-whisper
|
|
|
|
container_name: faster-whisper
|
|
|
|
environment:
|
|
|
|
# for UserID
|
|
|
|
- PUID=${PUID:-1024}
|
|
|
|
# for GroupID
|
|
|
|
- PGID=${PGID:-100}
|
|
|
|
# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
|
|
|
|
- TZ=${TZ:-Europe/Amsterdam}
|
2023-12-03 00:39:30 +00:00
|
|
|
# Whisper model that will be used for transcription. From `tiny`, `base`, `small` and `medium`, all with `-int8` compressed variants
|
2023-11-30 00:37:17 +00:00
|
|
|
- WHISPER_MODEL=tiny-int8
|
|
|
|
# Number of candidates to consider simultaneously during transcription.
|
|
|
|
- WHISPER_BEAM=1 # optional
|
|
|
|
# Language that you will speak to the add-on.
|
|
|
|
- WHISPER_LANG=en # optional
|
|
|
|
volumes:
|
|
|
|
# Local path for Whisper config files.
|
|
|
|
- ${BASEDIR:-/volume1/docker}/faster-whisper/config:/config
|
|
|
|
ports:
|
|
|
|
# Wyoming connection port.
|
|
|
|
- 10300:10300
|
|
|
|
restart: unless-stopped
|