diff --git a/docker/docker-compose-production.yml b/docker/docker-compose-production.yml index e5d98e37..d9b54021 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.14 + image: vachanengine/vachan-ai:0.0.0-alpha.15 healthcheck: timeout: 45s interval: 10s @@ -370,14 +370,12 @@ services: - VACHAN_AI_MODEL_SETTINGS_DIR=${VACHAN_AI_MODEL_SETTINGS_DIR:-serving_model} - VACHAN_AI_REQUEST_TIMEOUT=${VACHAN_AI_REQUEST_TIMEOUT:-60} - - VACHAN_AI_AWS_ACCESS_KEY=${VACHAN_AI_AWS_ACCESS_KEY} - - VACHAN_AI_AWS_SECRET_ACCESS_KEY=${VACHAN_AI_AWS_SECRET_ACCESS_KEY} - VACHAN_AI_S3_BUCKET=${VACHAN_AI_S3_BUCKET} - - VACHAN_AI_AWS_ACCOUNT_REGION=${VACHAN_AI_AWS_ACCOUNT_REGION} - AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} - 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_LOGGING_LEVEL=INFO - VACHAN_LOGGING_LEVEL=INFO - VACHAN_AI_ENV=${VACHAN_AI_ENV:-Production} @@ -390,6 +388,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_DFNT_SAMPLING_RATE=${VACHAN_AI_DFNT_SAMPLING_RATE:-48000} - VACHAN_DOMAIN=http://vachan-access:8007 - VACHAN_AI_DOMAIN=http://vachan-api command: uvicorn main:app --host 0.0.0.0 --port 8009 @@ -419,7 +418,7 @@ services: worker: - image: vachanengine/vachan-ai:0.0.0-alpha.14 + image: vachanengine/vachan-ai:0.0.0-alpha.15 healthcheck: timeout: 45s interval: 10s @@ -433,6 +432,8 @@ services: - VACHAN_POSTGRES_DATABASE=${VACHAN_POSTGRES_DATABASE:-vachan_dev} - VACHAN_POSTGRES_SCHEMA=${VACHAN_POSTGRES_SCHEMA:-aischema} - VACHAN_POSTGRES_PORT=5432 + - 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_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/v2/models} - VACHAN_AI_MLSERVER_REQUEST_TIMEOUT=120 diff --git a/docker/docker-compose-staging.yml b/docker/docker-compose-staging.yml index d3d2f85f..40a45e79 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.14 + image: vachanengine/vachan-ai:0.0.0-alpha.15 healthcheck: timeout: 45s interval: 10s @@ -363,20 +363,19 @@ services: - VACHAN_AI_MODEL_SETTINGS_DIR=${VACHAN_AI_MODEL_SETTINGS_DIR:-serving_model} - VACHAN_AI_REQUEST_TIMEOUT=${VACHAN_AI_REQUEST_TIMEOUT:-60} - - VACHAN_AI_AWS_ACCESS_KEY=${VACHAN_AI_AWS_ACCESS_KEY} - - VACHAN_AI_AWS_SECRET_ACCESS_KEY=${VACHAN_AI_AWS_SECRET_ACCESS_KEY} - VACHAN_AI_S3_BUCKET=${VACHAN_AI_S3_BUCKET} - - VACHAN_AI_AWS_ACCOUNT_REGION=${VACHAN_AI_AWS_ACCOUNT_REGION} - AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} - AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} - 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_LOGGING_LEVEL=INFO - VACHAN_AI_ENV=${VACHAN_AI_ENV:-Production} - VACHAN_AI_MLSERVER_REQUEST_TIMEOUT=120 - PYTHONPATH=/app/app/core/model_access/ai_model_core.py:/app/app/core/cloud_operations - VACHAN_REDIS_PASS=${VACHAN_REDIS_PASS:-vsfrgetd} + - VACHAN_AI_DFNT_SAMPLING_RATE=${VACHAN_AI_DFNT_SAMPLING_RATE:-48000} - VACHAN_AI_DELETION_PERIOD=${VACHAN_AI_DELETION_PERIOD:-14} - VACHAN_AI_CRON_DAY=${VACHAN_AI_CRON_DAY:-MON} - VACHAN_AI_CRON_HOUR=${VACHAN_AI_CRON_HOUR:-12} @@ -412,7 +411,7 @@ services: worker: - image: vachanengine/vachan-ai:0.0.0-alpha.14 + image: vachanengine/vachan-ai:0.0.0-alpha.15 healthcheck: timeout: 45s interval: 10s @@ -427,6 +426,8 @@ services: - VACHAN_POSTGRES_SCHEMA=${VACHAN_POSTGRES_SCHEMA:-aischema} - VACHAN_POSTGRES_PORT=5432 - 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_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/v2/models} - VACHAN_AI_MLSERVER_REQUEST_TIMEOUT=120