mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 16:50:39 +00:00
* initial changes to support deepgram stt * fixes for normalizing vendor-specific transcriptions * update to latest drachtio-fsmrf with support for deepgram stt * deepgram parsing error * hints support for deepgram * handling deepgram errors * ignore late arriving transcripts for deepgram * handling of empty transcripts * transcribe changes * allow deepgram stt credentials to be provided at run time * bind channel in transcription handler * fixes for transcribe when handling empty transcripts * more empty transcript fixes * update tests to latest modules * add test cases for deepgram speech recognition
95 lines
2.0 KiB
YAML
95 lines
2.0 KiB
YAML
version: '3.9'
|
|
networks:
|
|
fs:
|
|
driver: bridge
|
|
ipam:
|
|
config:
|
|
- subnet: 172.38.0.0/16
|
|
|
|
services:
|
|
mysql:
|
|
image: mysql:5.7
|
|
platform: linux/x86_64
|
|
ports:
|
|
- "3360:3306"
|
|
environment:
|
|
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
|
|
healthcheck:
|
|
test: ["CMD", "mysqladmin" ,"ping", "-h", "127.0.0.1", "--protocol", "tcp"]
|
|
timeout: 5s
|
|
retries: 10
|
|
networks:
|
|
fs:
|
|
ipv4_address: 172.38.0.5
|
|
|
|
redis:
|
|
image: redis:5-alpine
|
|
ports:
|
|
- "16379:6379/tcp"
|
|
depends_on:
|
|
- mysql
|
|
networks:
|
|
fs:
|
|
ipv4_address: 172.38.0.6
|
|
|
|
docker-host:
|
|
image: qoomon/docker-host
|
|
cap_add: [ 'NET_ADMIN', 'NET_RAW' ]
|
|
mem_limit: 8M
|
|
restart: on-failure
|
|
networks:
|
|
fs:
|
|
ipv4_address: 172.38.0.7
|
|
|
|
drachtio:
|
|
image: drachtio/drachtio-server:latest
|
|
restart: always
|
|
command: drachtio --contact "sip:*;transport=udp,tcp" --address 0.0.0.0 --port 9022
|
|
ports:
|
|
- "9060:9022/tcp"
|
|
networks:
|
|
fs:
|
|
ipv4_address: 172.38.0.50
|
|
depends_on:
|
|
mysql:
|
|
condition: service_healthy
|
|
freeswitch:
|
|
condition: service_healthy
|
|
|
|
freeswitch:
|
|
image: drachtio/drachtio-freeswitch-mrf:0.4.18
|
|
restart: always
|
|
command: freeswitch --rtp-range-start 20000 --rtp-range-end 20100
|
|
environment:
|
|
GOOGLE_APPLICATION_CREDENTIALS: /opt/credentials/gcp.json
|
|
ports:
|
|
- "8022:8021/tcp"
|
|
volumes:
|
|
- /tmp:/tmp
|
|
- ./credentials:/opt/credentials
|
|
healthcheck:
|
|
test: ['CMD', 'fs_cli' ,'-p', 'JambonzR0ck$$', '-x', '"sofia status"']
|
|
timeout: 5s
|
|
retries: 15
|
|
networks:
|
|
fs:
|
|
ipv4_address: 172.38.0.51
|
|
|
|
webhook-scaffold:
|
|
image: jambonz/webhook-test-scaffold:latest
|
|
ports:
|
|
- "3100:3000/tcp"
|
|
volumes:
|
|
- ./test-apps:/tmp
|
|
networks:
|
|
fs:
|
|
ipv4_address: 172.38.0.60
|
|
|
|
influxdb:
|
|
image: influxdb:1.8
|
|
ports:
|
|
- "8086:8086"
|
|
networks:
|
|
fs:
|
|
ipv4_address: 172.38.0.90
|