Skip to content

Commit

Permalink
Merge pull request #791 from Jayasankar-kk/ai_integrate4
Browse files Browse the repository at this point in the history
Minor changes to  vachan-ai service
  • Loading branch information
shimilgithub authored Mar 26, 2024
2 parents 039a7a6 + fcbacf7 commit 0104e7a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ services:
- VACHAN_AI_AWS_ACCOUNT_REGION=${VACHAN_AI_AWS_ACCOUNT_REGION}


- VACHAN_AI_DATA_PATH=${VACHAN_AI_DATA_PATH:-/var/data-vachan-ai}
- VACHAN_AI_DATA_PATH=${VACHAN_AI_DATA_PATH:-/home/gitautodeploy/vachan_ai_data}
- VACHAN_AI_POSTGRES_PORT=5433
- VACHAN_AI_LOGGING_LEVEL=INFO
- VACHAN_LOGGING_LEVEL=INFO
Expand All @@ -389,9 +389,9 @@ services:
- VACHAN_AI_DOMAIN=http://vachan-api
command: uvicorn main:app --host 0.0.0.0 --port 8008
volumes:
- ${VACHAN_AI_DATA_PATH}/docker-volumes/ai-logs-vol:/app/logs
- ${VACHAN_AI_DATA_PATH}/cache:/root/.cache
- ${VACHAN_AI_DATA_PATH}/Downloads:/tmp
- ${VACHAN_AI_DATA_PATH:-/home/gitautodeploy/vachan_ai_data}/docker-volumes/ai-logs-vol:/app/logs
- ${VACHAN_AI_DATA_PATH:-/home/gitautodeploy/vachan_ai_data}/cache:/root/.cache
- ${VACHAN_AI_DATA_PATH:-/home/gitautodeploy/vachan_ai_data}/Downloads:/tmp
restart: always
depends_on:
- vachan-api
Expand Down Expand Up @@ -423,8 +423,9 @@ services:
- VACHAN_AI_POSTGRES_DATABASE=${VACHAN_AI_POSTGRES_DATABASE:-vachan_ai_db}
- VACHAN_AI_POSTGRES_SCHEMA=${VACHAN_AI_POSTGRES_SCHEMA:-aischema}
- VACHAN_AI_POSTGRES_PORT=5433
- VACHAN_AI_DATA_PATH=${VACHAN_AI_DATA_PATH:-/var/data-vachan-ai}
- VACHAN_AI_DATA_PATH=${VACHAN_AI_DATA_PATH:-/home/gitautodeploy/vachan_ai_data}
- VACHAN_AI_SERVED_MODEL_URI=${VACHAN_AI_SERVED_MODEL_URI:-http://dov2conn.bridgeconn.com:8085/v2/models}
- VACHAN_AI_MLSERVER_REQUEST_TIMEOUT=120
- PYTHONPATH=/app/app/core/model_access/ai_model_core.py:/app/app/core/cloud_operations
command: rq worker --url redis://:${VACHAN_REDIS_PASS}@redis:6379
links:
Expand All @@ -433,9 +434,9 @@ services:
- redis
- vachan-api
volumes:
- ${VACHAN_AI_DATA_PATH}/docker-volumes/redis_worker-logs-vol:/app/rqlogs
- ${VACHAN_AI_DATA_PATH:-/home/gitautodeploy/vachan_ai_data}/docker-volumes/redis_worker-logs-vol:/app/rqlogs
- ../data/csvs:/csvs
- ${VACHAN_AI_DATA_PATH}/Downloads:/tmp
- ${VACHAN_AI_DATA_PATH:-/home/gitautodeploy/vachan_ai_data}/Downloads:/tmp
profiles:
- local-run
- deployment
Expand Down

0 comments on commit 0104e7a

Please sign in to comment.