From 413ee3a00dbbb61bad74a157c3364392a29c2680 Mon Sep 17 00:00:00 2001 From: joel-joseph-george Date: Fri, 21 Jun 2024 13:10:14 +0530 Subject: [PATCH 1/2] vachan-ai container port change --- docker/docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 03f55208..53f4972d 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -391,7 +391,7 @@ services: - VACHAN_AI_BASEPATH=/v2/ai - VACHAN_DOMAIN=${VACHAN_DOMAIN:-http://localhost} - VACHAN_AI_DOMAIN=http://vachan-api - command: uvicorn main:app --host 0.0.0.0 --port 8008 + command: uvicorn main:app --host 0.0.0.0 --port 8009 volumes: - ${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 @@ -405,9 +405,9 @@ services: - local-run - deployment expose: - - 8008 + - 8009 ports: - - "8008:8008" + - "8009:8009" networks: - VE-network container_name: vachan-ai From 952c30c15f2ef6162d7ca83996d60d7f0ec6a300 Mon Sep 17 00:00:00 2001 From: joel-joseph-george Date: Fri, 21 Jun 2024 13:13:37 +0530 Subject: [PATCH 2/2] vachan-ai container port change --- docker/nginx/default.conf | 2 +- docker/nginx/prod/app.conf.template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/nginx/default.conf b/docker/nginx/default.conf index e51bbc81..4a4b8013 100644 --- a/docker/nginx/default.conf +++ b/docker/nginx/default.conf @@ -20,7 +20,7 @@ server { } location /v2/ai/ { - proxy_pass http://vachan-ai:8008; + proxy_pass http://vachan-ai:8009; } location /v2/auth/ { diff --git a/docker/nginx/prod/app.conf.template b/docker/nginx/prod/app.conf.template index 6b6fb6fb..279b64a1 100644 --- a/docker/nginx/prod/app.conf.template +++ b/docker/nginx/prod/app.conf.template @@ -38,7 +38,7 @@ server { location /v2/ai/ { - proxy_pass http://vachan-ai:8008; + proxy_pass http://vachan-ai:8009; } location /v2/auth/ {