Skip to content

Commit

Permalink
Merge pull request #866 from NoelSudhish/version-2
Browse files Browse the repository at this point in the history
auth based on flag for vachan-ai
  • Loading branch information
anjalyv authored Aug 30, 2024
2 parents 3a6ecf6 + df212c9 commit f159887
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 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.13
image: vachanengine/vachan-ai:0.0.0-alpha.14
healthcheck:
timeout: 45s
interval: 10s
Expand Down Expand Up @@ -388,6 +388,7 @@ services:
- VACHAN_AI_CRON_HOUR=${VACHAN_AI_CRON_HOUR:-12}
- VACHAN_AI_CRON_MINUTE=${VACHAN_AI_CRON_MINUTE:-30}
- VACHAN_AI_BASEPATH=/v2/ai
- VACHAN_USE_VE_AUTH=${VACHAN_USE_VE_AUTH:-True}
- 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 @@ -417,7 +418,7 @@ services:


worker:
image: vachanengine/vachan-ai:0.0.0-alpha.13
image: vachanengine/vachan-ai:0.0.0-alpha.14
healthcheck:
timeout: 45s
interval: 10s
Expand All @@ -434,6 +435,7 @@ services:
- 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
- VACHAN_USE_VE_AUTH=${VACHAN_USE_VE_AUTH:-True}
- 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 Down
6 changes: 4 additions & 2 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.13
image: vachanengine/vachan-ai:0.0.0-alpha.14
healthcheck:
timeout: 45s
interval: 10s
Expand Down Expand Up @@ -381,6 +381,7 @@ services:
- VACHAN_AI_CRON_HOUR=${VACHAN_AI_CRON_HOUR:-12}
- VACHAN_AI_CRON_MINUTE=${VACHAN_AI_CRON_MINUTE:-30}
- VACHAN_AI_BASEPATH=/v2/ai
- VACHAN_USE_VE_AUTH=${VACHAN_USE_VE_AUTH:-True}
- 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 @@ -410,7 +411,7 @@ services:


worker:
image: vachanengine/vachan-ai:0.0.0-alpha.13
image: vachanengine/vachan-ai:0.0.0-alpha.14
healthcheck:
timeout: 45s
interval: 10s
Expand All @@ -424,6 +425,7 @@ services:
- VACHAN_POSTGRES_DATABASE=${VACHAN_POSTGRES_DATABASE:-vachan_dev}
- VACHAN_POSTGRES_SCHEMA=${VACHAN_POSTGRES_SCHEMA:-aischema}
- VACHAN_POSTGRES_PORT=5432
- VACHAN_USE_VE_AUTH=${VACHAN_USE_VE_AUTH:-True}
- 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 f159887

Please sign in to comment.