Skip to content

Commit

Permalink
chore: add environment variables for basic auth to docker-compose (#903)
Browse files Browse the repository at this point in the history
Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com>
  • Loading branch information
bvs-langchain and hinthornw authored Aug 1, 2024
1 parent 7e1160e commit 459ba74
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions python/langsmith/cli/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ services:
- CLICKHOUSE_PORT=${CLICKHOUSE_PORT:-8123}
- CLICKHOUSE_TLS=${CLICKHOUSE_TLS:-false}
- FF_ORG_CREATION_DISABLED=${ORG_CREATION_DISABLED:-false}
- BASIC_AUTH_ENABLED=${BASIC_AUTH_ENABLED:-false}
- INITIAL_ORG_ADMIN_EMAIL=${INITIAL_ORG_ADMIN_EMAIL}
- INITIAL_ORG_ADMIN_PASSWORD=${INITIAL_ORG_ADMIN_PASSWORD}
- BASIC_AUTH_JWT_SECRET=${BASIC_AUTH_JWT_SECRET}
ports:
- 1984:1984
depends_on:
Expand All @@ -63,6 +67,10 @@ services:
- API_KEY_SALT=${API_KEY_SALT}
- POSTGRES_DATABASE_URI=${POSTGRES_DATABASE_URI:-postgres:postgres@langchain-db:5432/postgres}
- REDIS_DATABASE_URI=${REDIS_DATABASE_URI:-redis://langchain-redis:6379}
- BASIC_AUTH_ENABLED=${BASIC_AUTH_ENABLED:-false}
- INITIAL_ORG_ADMIN_EMAIL=${INITIAL_ORG_ADMIN_EMAIL}
- INITIAL_ORG_ADMIN_PASSWORD=${INITIAL_ORG_ADMIN_PASSWORD}
- BASIC_AUTH_JWT_SECRET=${BASIC_AUTH_JWT_SECRET}
ports:
- 1986:1986
depends_on:
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langsmith"
version = "0.1.94"
version = "0.1.95"
description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform."
authors = ["LangChain <support@langchain.dev>"]
license = "MIT"
Expand Down

0 comments on commit 459ba74

Please sign in to comment.