From 459ba740dc8e01010299ec60559d3dfd4a48588e Mon Sep 17 00:00:00 2001 From: bvs-langchain <166456249+bvs-langchain@users.noreply.github.com> Date: Thu, 1 Aug 2024 18:44:22 -0400 Subject: [PATCH] chore: add environment variables for basic auth to docker-compose (#903) Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com> --- python/langsmith/cli/docker-compose.yaml | 8 ++++++++ python/pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python/langsmith/cli/docker-compose.yaml b/python/langsmith/cli/docker-compose.yaml index 87130aa13..172cc6e5d 100644 --- a/python/langsmith/cli/docker-compose.yaml +++ b/python/langsmith/cli/docker-compose.yaml @@ -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: @@ -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: diff --git a/python/pyproject.toml b/python/pyproject.toml index dd9143861..cda98a8c7 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -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 "] license = "MIT"