From ff60089e405030ec599bf46f85ed0ac64c60a02b Mon Sep 17 00:00:00 2001 From: barberscott Date: Fri, 15 Nov 2024 10:28:58 -0600 Subject: [PATCH 1/3] Clarify use of Docker Compose for testing. --- docs/self_hosting/installation/docker.mdx | 6 ++++-- docs/self_hosting/installation/kubernetes.mdx | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/self_hosting/installation/docker.mdx b/docs/self_hosting/installation/docker.mdx index 9f3c9646..0f864912 100644 --- a/docs/self_hosting/installation/docker.mdx +++ b/docs/self_hosting/installation/docker.mdx @@ -35,7 +35,7 @@ This guide provides instructions for installing and setting up your environment ## Running via Docker Compose -The following explains how to run the LangSmith using Docker Compose. This is the most flexible way to run LangSmith without Kubernetes. In production, we highly recommend using Kubernetes. +The following explains how to run the LangSmith using Docker Compose. This is the most flexible way to run LangSmith without Kubernetes. We recommend use of Docker Compose for local testing only and not for instances where any services are exposed to the public internet. In production, we highly recommend using Kubernetes. ### 1. Fetch the LangSmith `docker-compose.yml` file @@ -106,6 +106,8 @@ In this state, there is no authentication or concept of user accounts nor API ke As a next step, it is strongly recommended you work with your infrastructure administrators to: -- Setup DNS for your LangSmith instance to enable easier access. +- Setup DNS for your LangSmith instance to enable easier access - Configure SSL to ensure in-transit encryption of traces submitted to LangSmith - Configure LangSmith for [oauth authentication](/self_hosting/configuration/sso) or [basic authentication](/self_hosting/configuration/basic_auth) to secure your LangSmith instance +- Secure access to your Docker environment to limit access to only the LangSmith frontend and API +- Connect LangSmith to secured Postgres and Redis instances diff --git a/docs/self_hosting/installation/kubernetes.mdx b/docs/self_hosting/installation/kubernetes.mdx index 1c6478e5..33e99a0e 100644 --- a/docs/self_hosting/installation/kubernetes.mdx +++ b/docs/self_hosting/installation/kubernetes.mdx @@ -168,6 +168,7 @@ In this state, there is no authentication or concept of user accounts nor API ke As a next step, it is strongly recommended you work with your infrastructure administrators to: -- Setup DNS for your LangSmith instance to enable easier access. +- Setup DNS for your LangSmith instance to enable easier access - Configure SSL to ensure in-transit encryption of traces submitted to LangSmith - Configure LangSmith for [oauth authentication](/self_hosting/configuration/sso) or [basic authentication](/self_hosting/configuration/basic_auth) to secure your LangSmith instance +- Connect LangSmith to secured Postgres and Redis instances From a08aec7c50f6181679edb019a9f47025a3d5d41b Mon Sep 17 00:00:00 2001 From: barberscott Date: Fri, 15 Nov 2024 10:31:51 -0600 Subject: [PATCH 2/3] Formatting --- docs/self_hosting/installation/docker.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/self_hosting/installation/docker.mdx b/docs/self_hosting/installation/docker.mdx index 0f864912..1c6e2d5d 100644 --- a/docs/self_hosting/installation/docker.mdx +++ b/docs/self_hosting/installation/docker.mdx @@ -35,7 +35,7 @@ This guide provides instructions for installing and setting up your environment ## Running via Docker Compose -The following explains how to run the LangSmith using Docker Compose. This is the most flexible way to run LangSmith without Kubernetes. We recommend use of Docker Compose for local testing only and not for instances where any services are exposed to the public internet. In production, we highly recommend using Kubernetes. +The following explains how to run the LangSmith using Docker Compose. This is the most flexible way to run LangSmith without Kubernetes. We recommend use of Docker Compose for local testing only and not for instances where any services are exposed to the public internet. In production, we highly recommend using Kubernetes. ### 1. Fetch the LangSmith `docker-compose.yml` file From cc50b82bd2762bb7bdaae59b7ab89342051818e7 Mon Sep 17 00:00:00 2001 From: barberscott Date: Fri, 15 Nov 2024 10:44:36 -0600 Subject: [PATCH 3/3] Narrow language --- docs/self_hosting/installation/docker.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/self_hosting/installation/docker.mdx b/docs/self_hosting/installation/docker.mdx index 1c6e2d5d..b7efb318 100644 --- a/docs/self_hosting/installation/docker.mdx +++ b/docs/self_hosting/installation/docker.mdx @@ -35,7 +35,7 @@ This guide provides instructions for installing and setting up your environment ## Running via Docker Compose -The following explains how to run the LangSmith using Docker Compose. This is the most flexible way to run LangSmith without Kubernetes. We recommend use of Docker Compose for local testing only and not for instances where any services are exposed to the public internet. In production, we highly recommend using Kubernetes. +The following explains how to run the LangSmith using Docker Compose. This is the most flexible way to run LangSmith without Kubernetes. The default configuration for Docker Compose is intended for local testing only and not for instances where any services are exposed to the public internet. In production, we highly recommend using a secured Kubernetes environment. ### 1. Fetch the LangSmith `docker-compose.yml` file