diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index dd6a8aa3..3e379b86 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -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 @@ -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 @@ -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: @@ -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