Skip to content

Commit

Permalink
Merge pull request #883 from Jayasankar-kk/ai-alpha-19
Browse files Browse the repository at this point in the history
vachan-ai and worker container updated
  • Loading branch information
anjalyv authored Nov 26, 2024
2 parents b128588 + 178ee7e commit e922b41
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 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.18
image: vachanengine/vachan-ai:0.0.0-alpha.19
healthcheck:
timeout: 45s
interval: 10s
Expand Down Expand Up @@ -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}
Expand All @@ -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
Expand Down Expand Up @@ -420,7 +421,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
Expand All @@ -437,12 +438,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
Expand Down
10 changes: 6 additions & 4 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.18
image: vachanengine/vachan-ai:0.0.0-alpha.19
healthcheck:
timeout: 45s
interval: 10s
Expand Down Expand Up @@ -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}
Expand All @@ -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
Expand Down Expand Up @@ -413,7 +414,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
Expand All @@ -430,12 +431,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
Expand Down

0 comments on commit e922b41

Please sign in to comment.