Skip to content

Commit

Permalink
compose: prod nv-ingest and cors
Browse files Browse the repository at this point in the history
  • Loading branch information
ishandhanani committed Nov 21, 2024
1 parent fe85e77 commit c412839
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose-remote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ services:
- "8003:8003"
environment:
- REDIS_URL=redis://redis:6379
- MODEL_API_URL=${MODEL_API_URL:-https://nv-ingest-rest-endpoint.brevlab.com/v1}
- MODEL_API_URL=${MODEL_API_URL:-https://nv-ingest-8t8cjywa2.brevlab.com/v1}
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ services:
- "8003:8003"
environment:
- REDIS_URL=redis://redis:6379
- MODEL_API_URL=${MODEL_API_URL:-https://nv-ingest-rest-endpoint.brevlab.com/v1}
- MODEL_API_URL=${MODEL_API_URL:-https://nv-ingest-8t8cjywa2.brevlab.com/v1}
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
Expand Down
2 changes: 1 addition & 1 deletion services/APIService/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
# CORS setup
CORS_ORIGINS = os.getenv(
"CORS_ORIGINS",
"http://localhost:3000,https://nvnotebook-lm.vercel.app,https://notebooklm.brev.nvidia.com,https://ara.brev.nvidia.com",
"http://localhost:3000,https://nvnotebook-lm.vercel.app,https://notebooklm.brev.nvidia.com,https://ara.brev.nvidia.com,https://aira.brev.nvidia.com",
)
allowed_origins = [origin.strip() for origin in CORS_ORIGINS.split(",")]
logger.info(f"Configuring CORS with allowed origins: {allowed_origins}")
Expand Down

0 comments on commit c412839

Please sign in to comment.