Skip to content

Commit

Permalink
chore: cut 0.6 docker (#798)
Browse files Browse the repository at this point in the history
  • Loading branch information
langchain-infra authored Jun 18, 2024
2 parents 8e151ed + e292629 commit 07a29a3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions python/langsmith/cli/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Don't change this file. Instead, copy it to .env and change the values there. The default values will work out of the box as long as you provide your license key.
_LANGSMITH_IMAGE_VERSION=0.5.7
_LANGSMITH_IMAGE_VERSION=0.6.6
LANGSMITH_LICENSE_KEY=your-license-key # Change to your Langsmith license key
OPENAI_API_KEY=your-openai-api-key # Needed for Online Evals and Magic Query features
OPENAI_API_KEY=your-openai-api-key # Needed for Magic Query features
AUTH_TYPE=none # Set to oauth if you want to use OAuth2.0
OAUTH_CLIENT_ID=your-client-id # Required if AUTH_TYPE=oauth
OAUTH_ISSUER_URL=https://your-issuer-url # Required if AUTH_TYPE=oauth
Expand All @@ -18,3 +18,4 @@ CLICKHOUSE_PORT=8123 # Change to your Clickhouse port if needed
CLICKHOUSE_TLS=false # Change to true if you are using TLS to connect to Clickhouse. Otherwise, leave it as is
CLICKHOUSE_PASSWORD=password # Change to your Clickhouse password if needed
CLICKHOUSE_NATIVE_PORT=9000 # Change to your Clickhouse native port if needed
ORG_CREATION_DISABLED=false # Set to true if you want to disable org creation
11 changes: 6 additions & 5 deletions python/langsmith/cli/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
version: "4"
services:
langchain-playground:
image: langchain/langsmith-playground:${_LANGSMITH_IMAGE_VERSION:-0.5.7}
image: langchain/langsmith-playground:${_LANGSMITH_IMAGE_VERSION:-0.6.6}
ports:
- 3001:3001
langchain-frontend:
image: langchain/langsmith-frontend:${_LANGSMITH_IMAGE_VERSION:-0.5.7}
image: langchain/langsmith-frontend:${_LANGSMITH_IMAGE_VERSION:-0.6.6}
environment:
- VITE_BACKEND_AUTH_TYPE=${AUTH_TYPE:-none}
- VITE_OAUTH_CLIENT_ID=${OAUTH_CLIENT_ID}
- VITE_OAUTH_ISSUER_URL=${OAUTH_ISSUER_URL}
ports:
- 80:80
- 1980:1980
depends_on:
- langchain-backend
- langchain-playground
langchain-backend:
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.5.7}
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.6.6}
environment:
- PORT=1984
- LANGCHAIN_ENV=local_docker
Expand All @@ -36,6 +36,7 @@ services:
- CLICKHOUSE_DB=${CLICKHOUSE_DB:-default}
- CLICKHOUSE_PORT=${CLICKHOUSE_PORT:-8123}
- CLICKHOUSE_TLS=${CLICKHOUSE_TLS:-false}
- FF_ORG_CREATION_DISABLED=${ORG_CREATION_DISABLED:-false}
ports:
- 1984:1984
depends_on:
Expand All @@ -49,7 +50,7 @@ services:
condition: service_completed_successfully
restart: always
langchain-platform-backend:
image: langchain/langsmith-go-backend:${_LANGSMITH_IMAGE_VERSION:-0.5.7}
image: langchain/langsmith-go-backend:${_LANGSMITH_IMAGE_VERSION:-0.6.6}
environment:
- PORT=1986
- LANGCHAIN_ENV=local_docker
Expand Down
1 change: 0 additions & 1 deletion python/langsmith/cli/users.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<default>
<async_insert>1</async_insert>
<async_insert_max_data_size>2000000</async_insert_max_data_size>
<deduplicate_blocks_in_dependent_materialized_views>1</deduplicate_blocks_in_dependent_materialized_views>
<wait_for_async_insert>0</wait_for_async_insert>
<parallel_view_processing>1</parallel_view_processing>
</default>
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.78"
version = "0.1.79"
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 07a29a3

Please sign in to comment.