From 55c0216b08663e2bd8e5157c26cb3eb5b6671187 Mon Sep 17 00:00:00 2001 From: jayasankar Date: Tue, 26 Nov 2024 11:28:01 +0530 Subject: [PATCH 1/3] vachan-ai container updated --- docker/docker-compose-production.yml | 4 ++-- docker/docker-compose-staging.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/docker-compose-production.yml b/docker/docker-compose-production.yml index 2e3da13e..5c9c4b71 100644 --- a/docker/docker-compose-production.yml +++ b/docker/docker-compose-production.yml @@ -345,7 +345,7 @@ services: - VE-network vachan-ai: - image: vachanengine/vachan-ai:0.0.0-alpha.18 + image: vachanengine/vachan-ai:0.0.0-alpha.19 healthcheck: timeout: 45s interval: 10s @@ -420,7 +420,7 @@ services: worker: - image: vachanengine/vachan-ai:0.0.0-alpha.18 + image: vachanengine/vachan-ai:0.0.0-alpha.19 healthcheck: timeout: 45s interval: 10s diff --git a/docker/docker-compose-staging.yml b/docker/docker-compose-staging.yml index 40fe4ca9..4ef38c7d 100644 --- a/docker/docker-compose-staging.yml +++ b/docker/docker-compose-staging.yml @@ -338,7 +338,7 @@ services: - VE-network vachan-ai: - image: vachanengine/vachan-ai:0.0.0-alpha.18 + image: vachanengine/vachan-ai:0.0.0-alpha.19 healthcheck: timeout: 45s interval: 10s @@ -413,7 +413,7 @@ services: worker: - image: vachanengine/vachan-ai:0.0.0-alpha.18 + image: vachanengine/vachan-ai:0.0.0-alpha.19 healthcheck: timeout: 45s interval: 10s From 28f9883a3bf60c545c5530370e9f4f8d76f81ecc Mon Sep 17 00:00:00 2001 From: jayasankar Date: Tue, 26 Nov 2024 11:52:52 +0530 Subject: [PATCH 2/3] vachan-ai and worker env variables modified --- docker/docker-compose-production.yml | 5 +++-- docker/docker-compose-staging.yml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docker/docker-compose-production.yml b/docker/docker-compose-production.yml index 5c9c4b71..5870fbaf 100644 --- a/docker/docker-compose-production.yml +++ b/docker/docker-compose-production.yml @@ -375,7 +375,7 @@ services: - AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} - VACHAN_AI_DATA_PATH=${VACHAN_AI_DATA_PATH:-/home/gitautodeploy/vachan_ai_data} - - VACHAN_AI_OPEN_VOICE_MIN_DURATION=${VACHAN_AI_OPEN_VOICE_MIN_DURATION:-3} + - VACHAN_AI_OPEN_VOICE_MIN_DURATION=${VACHAN_AI_OPEN_VOICE_MIN_DURATION:-10} - VACHAN_AI_LOGGING_LEVEL=INFO - VACHAN_LOGGING_LEVEL=INFO - VACHAN_AI_ENV=${VACHAN_AI_ENV:-Production} @@ -437,12 +437,13 @@ services: - VACHAN_AI_REDIS_QUE_TIMEOUT=${VACHAN_AI_REDIS_QUE_TIMEOUT:-900} - VACHAN_AI_DFNT_SAMPLING_RATE=${VACHAN_AI_DFNT_SAMPLING_RATE:-48000} - VACHAN_AI_INA_SAMPLING_RATE=${VACHAN_AI_INA_SAMPLING_RATE:-16000} - - VACHAN_AI_OPEN_VOICE_MIN_DURATION=${VACHAN_AI_OPEN_VOICE_MIN_DURATION:-3} + - VACHAN_AI_OPEN_VOICE_MIN_DURATION=${VACHAN_AI_OPEN_VOICE_MIN_DURATION:-10} - VACHAN_AI_DATA_PATH=${VACHAN_AI_DATA_PATH:-/home/gitautodeploy/vachan_ai_data} - VACHAN_AI_SERVED_MODEL_URI=${VACHAN_AI_SERVED_MODEL_URI:-http://dov2prodconn.bridgeconn.com:8085} - VACHAN_AI_MLSERVER_REQUEST_TIMEOUT=${VACHAN_AI_MLSERVER_REQUEST_TIMEOUT:-120} - VACHAN_USE_VE_AUTH=${VACHAN_USE_VE_AUTH:-True} - PYTHONPATH=/app/app/core/model_access/ai_model_core.py:/app/app/core/cloud_operations + - VACHAN_AI_LOGGING_LEVEL=INFO command: rq worker --url redis://:${VACHAN_REDIS_PASS}@redis:6379 links: - redis diff --git a/docker/docker-compose-staging.yml b/docker/docker-compose-staging.yml index 4ef38c7d..ab25a967 100644 --- a/docker/docker-compose-staging.yml +++ b/docker/docker-compose-staging.yml @@ -369,7 +369,7 @@ services: - VACHAN_AI_DATA_PATH=${VACHAN_AI_DATA_PATH:-/home/gitautodeploy/vachan_ai_data} - VACHAN_AI_LOGGING_LEVEL=INFO - - VACHAN_AI_OPEN_VOICE_MIN_DURATION=${VACHAN_AI_OPEN_VOICE_MIN_DURATION:-3} + - VACHAN_AI_OPEN_VOICE_MIN_DURATION=${VACHAN_AI_OPEN_VOICE_MIN_DURATION:-10} - VACHAN_LOGGING_LEVEL=INFO - VACHAN_AI_ENV=${VACHAN_AI_ENV:-Production} - VACHAN_AI_MLSERVER_REQUEST_TIMEOUT=${VACHAN_AI_MLSERVER_REQUEST_TIMEOUT:-120} @@ -430,12 +430,13 @@ services: - VACHAN_AI_REDIS_QUE_TIMEOUT=${VACHAN_AI_REDIS_QUE_TIMEOUT:-900} - VACHAN_USE_VE_AUTH=${VACHAN_USE_VE_AUTH:-True} - VACHAN_AI_DFNT_SAMPLING_RATE=${VACHAN_AI_DFNT_SAMPLING_RATE:-48000} - - VACHAN_AI_OPEN_VOICE_MIN_DURATION=${VACHAN_AI_OPEN_VOICE_MIN_DURATION:-3} + - VACHAN_AI_OPEN_VOICE_MIN_DURATION=${VACHAN_AI_OPEN_VOICE_MIN_DURATION:-10} - VACHAN_AI_INA_SAMPLING_RATE=${VACHAN_AI_INA_SAMPLING_RATE:-16000} - VACHAN_AI_DATA_PATH=${VACHAN_AI_DATA_PATH:-/home/gitautodeploy/vachan_ai_data} - VACHAN_AI_SERVED_MODEL_URI=${VACHAN_AI_SERVED_MODEL_URI:-http://dov2prodconn.bridgeconn.com:8085} - VACHAN_AI_MLSERVER_REQUEST_TIMEOUT=${VACHAN_AI_MLSERVER_REQUEST_TIMEOUT:-120} - PYTHONPATH=/app/app/core/model_access/ai_model_core.py:/app/app/core/cloud_operations + - VACHAN_AI_LOGGING_LEVEL=INFO command: rq worker --url redis://:${VACHAN_REDIS_PASS}@redis:6379 links: - redis From 178ee7e8863e40db90d9f9acbb46dfba399c6a5e Mon Sep 17 00:00:00 2001 From: jayasankar Date: Tue, 26 Nov 2024 12:21:07 +0530 Subject: [PATCH 3/3] vachan-ai env variables updated --- docker/docker-compose-production.yml | 1 + docker/docker-compose-staging.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/docker/docker-compose-production.yml b/docker/docker-compose-production.yml index 5870fbaf..9e1676bc 100644 --- a/docker/docker-compose-production.yml +++ b/docker/docker-compose-production.yml @@ -391,6 +391,7 @@ services: - VACHAN_USE_VE_AUTH=${VACHAN_USE_VE_AUTH:-True} - VACHAN_AI_DFNT_SAMPLING_RATE=${VACHAN_AI_DFNT_SAMPLING_RATE:-48000} - VACHAN_AI_INA_SAMPLING_RATE=${VACHAN_AI_INA_SAMPLING_RATE:-16000} + - VACHAN_AI_MLFLOW_DST_PATH=${VACHAN_AI_MLFLOW_DST_PATH:-/var/common/mlflow} - VACHAN_DOMAIN=http://vachan-access:8007 - VACHAN_AI_DOMAIN=http://vachan-api command: uvicorn main:app --host 0.0.0.0 --port 8009 diff --git a/docker/docker-compose-staging.yml b/docker/docker-compose-staging.yml index ab25a967..7b1d9f1a 100644 --- a/docker/docker-compose-staging.yml +++ b/docker/docker-compose-staging.yml @@ -384,6 +384,7 @@ services: - VACHAN_AI_CRON_MINUTE=${VACHAN_AI_CRON_MINUTE:-30} - VACHAN_AI_BASEPATH=/v2/ai - VACHAN_USE_VE_AUTH=${VACHAN_USE_VE_AUTH:-True} + - VACHAN_AI_MLFLOW_DST_PATH=${VACHAN_AI_MLFLOW_DST_PATH:-/var/common/mlflow} - VACHAN_DOMAIN=http://vachan-access:8007 - VACHAN_AI_DOMAIN=http://vachan-api command: uvicorn main:app --host 0.0.0.0 --port 8009