-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# | ||
# Stack for local development. | ||
# Create a docker-compose.local.yml with your directories similar to: | ||
# | ||
# services: | ||
# media-hare: | ||
# volumes: | ||
# - /path/to/host/data:/data | ||
# | ||
# Run with: | ||
# docker compose -p mh -f docker-compose.yml -f docker-compose.local.yml up --build -d | ||
# | ||
# export LANGUAGE_TOOL_HOST=localhost LANGUAGE_TOOL_PORT=8100 KALDI_EN_HOST=localhost KALDI_EN_PORT=2700 | ||
# | ||
|
||
services: | ||
|
||
kaldi-en: | ||
image: alphacep/kaldi-en:latest | ||
restart: unless-stopped | ||
environment: | ||
- "VOSK_SHOW_WORDS=true" | ||
- "VOSK_ALTERNATIVES=0" | ||
ports: | ||
- "2700:2700/tcp" | ||
|
||
langtool: | ||
image: ghcr.io/double16/libreoffice-langtool:main | ||
restart: unless-stopped | ||
ports: | ||
- "8100:8100/tcp" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
docker compose -p mh -f "$(dirname "$0")/docker-compose-langtools.yml" up -d | ||
source "$(dirname "$0")/../.venv/bin/activate" | ||
export PATH="${PATH}:$(dirname "$0")/../dvrprocess" | ||
export LANGUAGE_TOOL_HOST=localhost | ||
export KALDI_EN_HOST=localhost | ||
export KALDI_EN_PORT=2700 | ||
export LANGUAGE_TOOL_PORT=8100 |