Skip to content

Commit

Permalink
chore: pass all provider env vars into docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesGuthrie committed Jan 24, 2025
1 parent 0fb7e46 commit 0616589
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions projects/extension/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,18 @@ def docker_run() -> None:
networking,
f"--mount type=bind,src={ext_dir()},dst=/pgai",
"--mount type=volume,dst=/pgai/.venv",
"-e OPENAI_API_KEY",
"-e COHERE_API_KEY",
"-e MISTRAL_API_KEY",
"-e VOYAGE_API_KEY",
"-e HUGGINGFACE_API_KEY",
"-e AZURE_API_KEY",
"-e AZURE_API_BASE",
"-e AZURE_API_VERSION",
"-e AWS_ACCESS_KEY_ID",
"-e AWS_REGION_NAME",
"-e AWS_SECRET_ACCESS_KEY",
"-e VERTEX_CREDENTIALS",
"-e TEST_ENV_SECRET=super_secret",
"pgai-ext",
"-c shared_preload_libraries='timescaledb, pgextwlist'",
Expand Down

0 comments on commit 0616589

Please sign in to comment.