Skip to content

Use TENSORLAKE_ONPREM env var for on-prem deployment#546

Open
sgirones wants to merge 3 commits intomainfrom
salvador/indexify-url-deploy
Open

Use TENSORLAKE_ONPREM env var for on-prem deployment#546
sgirones wants to merge 3 commits intomainfrom
salvador/indexify-url-deploy

Conversation

@sgirones
Copy link
Contributor

@sgirones sgirones commented Mar 3, 2026

Summary

  • Replaces the --indexify-url CLI flag with a TENSORLAKE_ONPREM environment variable to control on-prem deployment
  • When TENSORLAKE_ONPREM=true, skips image build, secrets check, and platform API auth
  • Uses TENSORLAKE_API_URL env var (defaults to http://localhost:8900) for the server address
  • Skips the Rust CLI auth guard (ensure_auth_and_project) when TENSORLAKE_ONPREM is set

Usage

TENSORLAKE_ONPREM=true TENSORLAKE_API_URL=http://localhost:8900 tensorlake deploy app.py

Test plan

  • Deploy to a local Indexify server with TENSORLAKE_ONPREM=true
  • Verify normal tensorlake deploy still works unchanged
  • Verify no login prompt when TENSORLAKE_ONPREM=true without auth configured

🤖 Generated with Claude Code

sgirones and others added 2 commits March 3, 2026 17:42
Skips image build, secrets check, and platform auth when deploying
directly to an Indexify server.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…m deployment

Instead of passing --indexify-url explicitly, on-prem deployment is now
controlled via TENSORLAKE_ONPREM env var (skips auth) and TENSORLAKE_API_URL
env var (sets the server address, defaults to localhost:8900).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sgirones sgirones changed the title Add --indexify-url flag for direct Indexify deployment Use TENSORLAKE_ONPREM env var for on-prem deployment Mar 4, 2026
Let the existing deploy_applications() handle APIClient creation from
environment variables instead of manually constructing it.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant