Skip to content

Commit

Permalink
Merge pull request #834 from Joel-Joseph-George/version-2
Browse files Browse the repository at this point in the history
vachan-ai container port change
  • Loading branch information
shimilgithub authored Jun 21, 2024
2 parents 089205c + 952c30c commit 4cc522d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -405,9 +405,9 @@ services:
- local-run
- deployment
expose:
- 8008
- 8009
ports:
- "8008:8008"
- "8009:8009"
networks:
- VE-network
container_name: vachan-ai
Expand Down
2 changes: 1 addition & 1 deletion docker/nginx/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ server {
}

location /v2/ai/ {
proxy_pass http://vachan-ai:8008;
proxy_pass http://vachan-ai:8009;
}

location /v2/auth/ {
Expand Down
2 changes: 1 addition & 1 deletion docker/nginx/prod/app.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ server {


location /v2/ai/ {
proxy_pass http://vachan-ai:8008;
proxy_pass http://vachan-ai:8009;
}

location /v2/auth/ {
Expand Down

0 comments on commit 4cc522d

Please sign in to comment.