Skip to content

Commit

Permalink
Merge pull request #874 from NoelSudhish/version-2
Browse files Browse the repository at this point in the history
Integration of vachan-ai(alpha.15) with vachan-api
  • Loading branch information
anjalyv authored Sep 12, 2024
2 parents 59e3036 + 2e310b7 commit 5c85762
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 6 additions & 5 deletions docker/docker-compose-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
11 changes: 6 additions & 5 deletions docker/docker-compose-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5c85762

Please sign in to comment.