Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

✨(docker) add compose support for multi-user-transcriber

leo812d80c4f217
diff --git a/Makefile b/Makefile
index b003f2de..53a1cc93 100644
--- a/Makefile
+++ b/Makefile
@@ -74,7 +74,8 @@ create-env-files: \
env.d/development/postgresql \
env.d/development/kc_postgresql \
env.d/development/summary \
- env.d/development/kube-secret
+ env.d/development/kube-secret \
+ env.d/development/multi_user_transcriber
.PHONY: create-env-files
bootstrap: ## Prepare Docker images for the project
@@ -95,6 +96,7 @@ bootstrap: \
build: ## build the project containers
@$(MAKE) build-backend
@$(MAKE) build-frontend
+ @$(MAKE) build-agents
.PHONY: build
build-backend: ## build the app-dev container
@@ -106,6 +108,10 @@ build-frontend: ## build the frontend container
@$(COMPOSE) build frontend
.PHONY: build-frontend
+build-agents: ## build the multi-user-transcriber agent container
+ @$(COMPOSE) build multi-user-transcriber
+.PHONY: build-agents
+
down: ## stop and remove containers, networks, images, and volumes
@$(COMPOSE) down
.PHONY: down
@@ -126,10 +132,15 @@ run-summary: ## start only the summary application and all needed services
@$(COMPOSE) up --force-recreate -d celery-summary-summarize
.PHONY: run-summary
+run-agents: ## start the multi-user-transcriber agent
+ @$(COMPOSE) up --force-recreate -d multi-user-transcriber
+.PHONY: run-agents
+
run:
run: ## start the wsgi (production) and development server
@$(MAKE) run-backend
@$(MAKE) run-summary
+ @$(MAKE) run-agents
@$(COMPOSE) up --force-recreate -d frontend
.PHONY: run
@@ -269,6 +280,9 @@ env.d/development/summary:
env.d/development/kube-secret:
cp -n env.d/development/kube-secret.dist env.d/development/kube-secret
+env.d/development/multi_user_transcriber:
+ cp -n env.d/development/multi_user_transcriber.dist env.d/development/multi_user_transcriber
+
# -- Internationalization
env.d/development/crowdin:
diff --git a/compose.yml b/compose.yml
index 44106a0c..1d22ae3f 100644
--- a/compose.yml
+++ b/compose.yml
@@ -307,6 +307,14 @@ services:
- action: rebuild
path: ./src/summary
+ multi-user-transcriber:
+ build:
+ context: ./src/agents
+ env_file:
+ - env.d/development/multi_user_transcriber
+ volumes:
+ - ./src/agents:/app
+
networks:
default:
resource-server:
diff --git a/env.d/development/multi_user_transcriber.dist b/env.d/development/multi_user_transcriber.dist
new file mode 100644
index 00000000..4950ebb3
--- /dev/null
+++ b/env.d/development/multi_user_transcriber.dist
@@ -0,0 +1,9 @@
+LIVEKIT_URL=ws://livekit:7880
+LIVEKIT_API_KEY=devkey
+LIVEKIT_API_SECRET=secret
+
+STT_PROVIDER=kyutai
+ENABLE_SILERO_VAD=False
+
+KYUTAI_STT_BASE_URL=
+KYUTAI_API_KEY=