diff --git a/client/web/src/search/home/SelfHostInstructions.tsx b/client/web/src/search/home/SelfHostInstructions.tsx index 24cc01c0382..c54cded9b50 100644 --- a/client/web/src/search/home/SelfHostInstructions.tsx +++ b/client/web/src/search/home/SelfHostInstructions.tsx @@ -17,7 +17,7 @@ export const SelfHostInstructions: React.FunctionComponent { const dockerCommand = - 'docker run --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.40.1' + 'docker run --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.40.2' const copyTooltip = 'Copy command' const copyCompletedTooltip = 'Copied!' diff --git a/cmd/frontend/internal/app/updatecheck/handler.go b/cmd/frontend/internal/app/updatecheck/handler.go index d0654817c51..1e1a1a4fe94 100644 --- a/cmd/frontend/internal/app/updatecheck/handler.go +++ b/cmd/frontend/internal/app/updatecheck/handler.go @@ -33,17 +33,17 @@ var ( // non-cluster, non-docker-compose, and non-pure-docker installations what the latest // version is. The version here _must_ be available at https://hub.docker.com/r/sourcegraph/server/tags/ // before landing in master. - latestReleaseDockerServerImageBuild = newBuild("3.40.1") + latestReleaseDockerServerImageBuild = newBuild("3.40.2") // latestReleaseKubernetesBuild is only used by sourcegraph.com to tell existing Sourcegraph // cluster deployments what the latest version is. The version here _must_ be available in // a tag at https://github.com/sourcegraph/deploy-sourcegraph before landing in master. - latestReleaseKubernetesBuild = newBuild("3.40.1") + latestReleaseKubernetesBuild = newBuild("3.40.2") // latestReleaseDockerComposeOrPureDocker is only used by sourcegraph.com to tell existing Sourcegraph // Docker Compose or Pure Docker deployments what the latest version is. The version here _must_ be // available in a tag at https://github.com/sourcegraph/deploy-sourcegraph-docker before landing in master. - latestReleaseDockerComposeOrPureDocker = newBuild("3.40.1") + latestReleaseDockerComposeOrPureDocker = newBuild("3.40.2") ) func getLatestRelease(deployType string) build { diff --git a/doc/admin/deploy/docker-compose/aws.md b/doc/admin/deploy/docker-compose/aws.md index 0033ebb69fb..4b1963ab8c8 100644 --- a/doc/admin/deploy/docker-compose/aws.md +++ b/doc/admin/deploy/docker-compose/aws.md @@ -35,7 +35,7 @@ DEPLOY_SOURCEGRAPH_DOCKER_CHECKOUT='/home/ec2-user/deploy-sourcegraph-docker' # 🚨 Update these variables with the correct values from your fork! DEPLOY_SOURCEGRAPH_DOCKER_FORK_CLONE_URL='https://github.com/sourcegraph/deploy-sourcegraph-docker.git' -DEPLOY_SOURCEGRAPH_DOCKER_FORK_REVISION='v3.40.1' +DEPLOY_SOURCEGRAPH_DOCKER_FORK_REVISION='v3.40.2' # Install git yum update -y diff --git a/doc/admin/deploy/docker-compose/digitalocean.md b/doc/admin/deploy/docker-compose/digitalocean.md index 4145da88fae..41322cddceb 100644 --- a/doc/admin/deploy/docker-compose/digitalocean.md +++ b/doc/admin/deploy/docker-compose/digitalocean.md @@ -36,7 +36,7 @@ DEPLOY_SOURCEGRAPH_DOCKER_CHECKOUT='/root/deploy-sourcegraph-docker' # 🚨 Update these variables with the correct values from your fork! DEPLOY_SOURCEGRAPH_DOCKER_FORK_CLONE_URL='https://github.com/sourcegraph/deploy-sourcegraph-docker.git' -DEPLOY_SOURCEGRAPH_DOCKER_FORK_REVISION='v3.40.1' +DEPLOY_SOURCEGRAPH_DOCKER_FORK_REVISION='v3.40.2' # Install git sudo apt-get update -y diff --git a/doc/admin/deploy/docker-compose/google_cloud.md b/doc/admin/deploy/docker-compose/google_cloud.md index 580cb0f5bd2..bfb93178ed2 100644 --- a/doc/admin/deploy/docker-compose/google_cloud.md +++ b/doc/admin/deploy/docker-compose/google_cloud.md @@ -44,7 +44,7 @@ DEPLOY_SOURCEGRAPH_DOCKER_CHECKOUT='/root/deploy-sourcegraph-docker' # 🚨 Update these variables with the correct values from your fork! DEPLOY_SOURCEGRAPH_DOCKER_FORK_CLONE_URL='https://github.com/sourcegraph/deploy-sourcegraph-docker.git' -DEPLOY_SOURCEGRAPH_DOCKER_FORK_REVISION='v3.40.1' +DEPLOY_SOURCEGRAPH_DOCKER_FORK_REVISION='v3.40.2' # Install git sudo apt-get update -y diff --git a/doc/admin/deploy/docker-compose/index.md b/doc/admin/deploy/docker-compose/index.md index 4895005d78a..f8136bc8d37 100644 --- a/doc/admin/deploy/docker-compose/index.md +++ b/doc/admin/deploy/docker-compose/index.md @@ -101,7 +101,7 @@ Create a `release` branch to track all of your customizations to Sourcegraph. Th ```bash # Specify the version you want to install - export SOURCEGRAPH_VERSION="v3.40.1" + export SOURCEGRAPH_VERSION="v3.40.2" # Check out the selected version for use, in a new branch called "release" git checkout $SOURCEGRAPH_VERSION -b release ``` diff --git a/doc/admin/deploy/docker-single-container/aws.md b/doc/admin/deploy/docker-single-container/aws.md index e43e088556c..0166f42920f 100644 --- a/doc/admin/deploy/docker-single-container/aws.md +++ b/doc/admin/deploy/docker-single-container/aws.md @@ -33,7 +33,7 @@ This tutorial shows you how to deploy [single-container Sourcegraph with Docker] - usermod -a -G docker ec2-user # Install and run Sourcegraph. Restart the container upon subsequent reboots - - [ sh, -c, 'docker run -d --publish 80:7080 --publish 443:7080 --publish 127.0.0.1:3370:3370 --restart unless-stopped --volume /home/ec2-user/.sourcegraph/config:/etc/sourcegraph --volume /home/ec2-user/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.40.1' ] + - [ sh, -c, 'docker run -d --publish 80:7080 --publish 443:7080 --publish 127.0.0.1:3370:3370 --restart unless-stopped --volume /home/ec2-user/.sourcegraph/config:/etc/sourcegraph --volume /home/ec2-user/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.40.2' ] ``` - Select **Next: ...** until you get to the **Configure Security Group** page. Then add the following rules: diff --git a/doc/admin/deploy/docker-single-container/digitalocean.md b/doc/admin/deploy/docker-single-container/digitalocean.md index 001ff947a5b..9cb73d609fc 100644 --- a/doc/admin/deploy/docker-single-container/digitalocean.md +++ b/doc/admin/deploy/docker-single-container/digitalocean.md @@ -17,7 +17,7 @@ This tutorial shows you how to deploy [single-container Sourcegraph with Docker] 1. Run the Sourcegraph Docker image as a daemon: ``` - docker run -d --publish 80:7080 --publish 443:7443 --restart unless-stopped --volume /root/.sourcegraph/config:/etc/sourcegraph --volume /root/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.40.1 + docker run -d --publish 80:7080 --publish 443:7443 --restart unless-stopped --volume /root/.sourcegraph/config:/etc/sourcegraph --volume /root/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.40.2 ``` 1. Navigate to the droplet's IP address to finish initializing Sourcegraph. If you have configured a DNS entry for the IP, configure `externalURL` to reflect that. diff --git a/doc/admin/deploy/docker-single-container/google_cloud.md b/doc/admin/deploy/docker-single-container/google_cloud.md index e80bf1fae66..bb7db29c625 100644 --- a/doc/admin/deploy/docker-single-container/google_cloud.md +++ b/doc/admin/deploy/docker-single-container/google_cloud.md @@ -23,7 +23,7 @@ This tutorial shows you how to deploy [single-container Sourcegraph with Docker] sudo apt-get install -y docker-ce mkdir -p /root/.sourcegraph/config mkdir -p /root/.sourcegraph/data - docker run -d --publish 80:7080 --publish 443:7443 --restart unless-stopped --volume /root/.sourcegraph/config:/etc/sourcegraph --volume /root/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.40.1 + docker run -d --publish 80:7080 --publish 443:7443 --restart unless-stopped --volume /root/.sourcegraph/config:/etc/sourcegraph --volume /root/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.40.2 ``` - Create your VM, then navigate to its public IP address. diff --git a/doc/admin/deploy/docker-single-container/index.md b/doc/admin/deploy/docker-single-container/index.md index e386dd3f825..88b0cdbeae8 100644 --- a/doc/admin/deploy/docker-single-container/index.md +++ b/doc/admin/deploy/docker-single-container/index.md @@ -14,7 +14,7 @@ It takes less than a minute to run and install Sourcegraph using Docker: This uses line breaks that are rendered but not copy-pasted to the clipboard. --> -
docker run --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.40.1
+
docker run --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.40.2
Once the server is ready (logo is displayed in the terminal), navigate to the hostname or IP address on port `7080`. Create the admin account, then you'll be guided through setting up Sourcegraph for code searching and navigation. @@ -46,7 +46,7 @@ For example, to mount a `.gitconfig`, create a file `/mnt/sourcegraph/config/git Alternatively you can create a new Docker image which inherits from Sourcegraph and then mutates the environment: ```dockerfile -FROM sourcegraph/server:3.40.1 +FROM sourcegraph/server:3.40.2 COPY gitconfig /etc/gitconfig COPY ssh /root/.ssh @@ -87,7 +87,7 @@ This is required to [collect debug data](../../pprof.md). The docker run command for single-container Sourcegraph needs an additional publish flag to expose the debug port: ```bash script -docker run --publish 7080:7080 --publish 127.0.0.1:3370:3370 --publish 127.0.0.1:6060:6060 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.40.1 +docker run --publish 7080:7080 --publish 127.0.0.1:3370:3370 --publish 127.0.0.1:6060:6060 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.40.2 ``` If Sourcegraph is deployed to a remote server, then access via an SSH tunnel using a tool @@ -105,7 +105,7 @@ Add the following to your docker run command: ``` docker run [...] -e (YOUR CODE) -sourcegraph/server:3.40.1 +sourcegraph/server:3.40.2 ``` ## Operation @@ -173,7 +173,7 @@ Sourcegraph can be **tested** on Windows 10 using roughly the same steps provide 1. [Install Docker for Windows](https://docs.docker.com/docker-for-windows/install/) 2. Using a command prompt, follow the same [installation steps provided above](#install-sourcegraph-with-docker) but remove the `--volume` arguments. For example by pasting this: -
docker run --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm sourcegraph/server:3.40.1
+
docker run --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm sourcegraph/server:3.40.2
### Low resource environments diff --git a/doc/admin/deploy/kubernetes/configure.md b/doc/admin/deploy/kubernetes/configure.md index a51780221ef..3b4310abdc4 100644 --- a/doc/admin/deploy/kubernetes/configure.md +++ b/doc/admin/deploy/kubernetes/configure.md @@ -82,7 +82,7 @@ We **strongly** recommend you fork the [Sourcegraph with Kubernetes reference re - Create a `release` branch to track all of your customizations to Sourcegraph. This branch will be used to [upgrade Sourcegraph](update.md) and [install your Sourcegraph instance](./index.md#installation). ```bash - export SOURCEGRAPH_VERSION="v3.40.1" + export SOURCEGRAPH_VERSION="v3.40.2" git checkout $SOURCEGRAPH_VERSION -b release ``` diff --git a/doc/admin/deploy/kubernetes/helm.md b/doc/admin/deploy/kubernetes/helm.md index 7ca11db109f..d3569d6f3a7 100644 --- a/doc/admin/deploy/kubernetes/helm.md +++ b/doc/admin/deploy/kubernetes/helm.md @@ -49,7 +49,7 @@ helm repo add sourcegraph https://helm.sourcegraph.com/release Install the Sourcegraph chart using default values: ```sh -helm install --version 3.40.1 sourcegraph sourcegraph/sourcegraph +helm install --version 3.40.2 sourcegraph sourcegraph/sourcegraph ``` Sourcegraph should now be available via the address set. Browsing to the url should now provide access to the Sourcegraph UI to create the initial administrator account. @@ -76,7 +76,7 @@ Example overrides can be found in the [examples](https://github.com/sourcegraph/ Providing the override file to Helm is done with the inclusion of the values flag and the name of the file: ```sh -helm upgrade --install --values ./override.yaml --version 3.40.1 sourcegraph sourcegraph/sourcegraph +helm upgrade --install --values ./override.yaml --version 3.40.2 sourcegraph sourcegraph/sourcegraph ``` When making configuration changes, it's recommended to review the changes that will be applied - see [Reviewing Changes](#reviewing-changes). @@ -411,7 +411,7 @@ The override file includes a [BackendConfig] CRD. This is necessary to instruct **2** – Install the chart ```sh -helm upgrade --install --values ./override.yaml --version 3.40.1 sourcegraph sourcegraph/sourcegraph +helm upgrade --install --values ./override.yaml --version 3.40.2 sourcegraph sourcegraph/sourcegraph ``` It will take around 10 minutes for the load balancer to be fully ready, you may check on the status and obtain the load balancer IP using the following command: @@ -524,7 +524,7 @@ storageClass: **2** – Install the chart ```sh -helm upgrade --install --values ./override.yaml --version 3.40.1 sourcegraph sourcegraph/sourcegraph +helm upgrade --install --values ./override.yaml --version 3.40.2 sourcegraph sourcegraph/sourcegraph ``` It will take some time for the load balancer to be fully ready, use the following to check on the status and obtain the load balancer address (once available): @@ -609,7 +609,7 @@ storageClass: **2** – Install the chart ```sh -helm upgrade --install --values ./override.yaml --version 3.40.1 sourcegraph sourcegraph/sourcegraph +helm upgrade --install --values ./override.yaml --version 3.40.2 sourcegraph sourcegraph/sourcegraph ``` It will take some time for the load balancer to be fully ready, you can check on the status and obtain the load balancer address (when ready) using: @@ -695,7 +695,7 @@ storageClass: **2** – Install the chart ```sh -helm upgrade --install --values ./override.yaml --version 3.40.1 sourcegraph sourcegraph/sourcegraph +helm upgrade --install --values ./override.yaml --version 3.40.2 sourcegraph sourcegraph/sourcegraph ``` It may take some time before your ingress is up and ready to proceed. Depending on how your Ingress Controller works, you may be able to check on its status and obtain the public address of your Ingress using: @@ -793,7 +793,7 @@ A new version of Sourcegraph is released every month (with patch releases in bet 1. Install the new version: ```bash - helm upgrade --install -f override.yaml --version 3.40.1 sourcegraph sourcegraph/sourcegraph + helm upgrade --install -f override.yaml --version 3.40.2 sourcegraph sourcegraph/sourcegraph ``` 1. Verify the installation has started: diff --git a/doc/admin/external_services/postgres.md b/doc/admin/external_services/postgres.md index 500507d80e9..c792a3736e3 100644 --- a/doc/admin/external_services/postgres.md +++ b/doc/admin/external_services/postgres.md @@ -48,7 +48,7 @@ Add the following to your `docker run` command: This uses line breaks that are rendered but not copy-pasted to the clipboard. --> -
docker run [...] -e PGHOST=psql1.mycompany.org -e PGUSER=sourcegraph -e PGPASSWORD=secret -e PGDATABASE=sourcegraph -e PGSSLMODE=require -e CODEINTEL_PGHOST=psql2.mycompany.org -e CODEINTEL_PGUSER=sourcegraph -e CODEINTEL_PGPASSWORD=secret -e CODEINTEL_PGDATABASE=sourcegraph-codeintel -e CODEINTEL_PGSSLMODE=require sourcegraph/server:3.40.1
+
docker run [...] -e PGHOST=psql1.mycompany.org -e PGUSER=sourcegraph -e PGPASSWORD=secret -e PGDATABASE=sourcegraph -e PGSSLMODE=require -e CODEINTEL_PGHOST=psql2.mycompany.org -e CODEINTEL_PGUSER=sourcegraph -e CODEINTEL_PGPASSWORD=secret -e CODEINTEL_PGDATABASE=sourcegraph-codeintel -e CODEINTEL_PGSSLMODE=require sourcegraph/server:3.40.2
### Docker Compose @@ -154,7 +154,7 @@ When [PgBouncer] is used, we need to include `statement_cache_mode=describe` in Add the following to your `docker run` command: -
docker run [...] -e PGDATASOURCE="postgres://username:password@sourcegraph-pgbouncer.mycompany.com:5432/sg?statement_cache_mode=describe" -e CODEINSIGHTS_PGDATASOURCE="postgres://username:password@sourcegraph-codeintel-pgbouncer.mycompany.com:5432/sg?statement_cache_mode=describe" sourcegraph/server:3.40.1
+
docker run [...] -e PGDATASOURCE="postgres://username:password@sourcegraph-pgbouncer.mycompany.com:5432/sg?statement_cache_mode=describe" -e CODEINSIGHTS_PGDATASOURCE="postgres://username:password@sourcegraph-codeintel-pgbouncer.mycompany.com:5432/sg?statement_cache_mode=describe" sourcegraph/server:3.40.2
### Docker Compose diff --git a/doc/admin/external_services/redis.md b/doc/admin/external_services/redis.md index be1dee0f73b..e2ad470d875 100644 --- a/doc/admin/external_services/redis.md +++ b/doc/admin/external_services/redis.md @@ -13,7 +13,7 @@ or follow the [IANA specification for Redis URLs](https://www.iana.org/assignmen We want line breaks for readability, but backslashes to escape them do not work cross-platform. This uses line breaks that are rendered but not copy-pasted to the clipboard. --> -
docker run [...]   -e REDIS_ENDPOINT=redis.mycompany.org:6379   sourcegraph/server:3.40.1
+
docker run [...]   -e REDIS_ENDPOINT=redis.mycompany.org:6379   sourcegraph/server:3.40.2
> NOTE: On Mac/Windows, if trying to connect to a Redis server on the same host machine, remember that Sourcegraph is running inside a Docker container inside of the Docker virtual machine. You may need to specify your actual machine IP address and not `localhost` or `127.0.0.1` as that refers to the Docker VM itself. diff --git a/doc/admin/http_https_configuration.md b/doc/admin/http_https_configuration.md index c9a707e0f1a..60f004d7026 100644 --- a/doc/admin/http_https_configuration.md +++ b/doc/admin/http_https_configuration.md @@ -37,7 +37,7 @@ docker container run \ \ --volume ~/.sourcegraph/config:/etc/sourcegraph \ --volume ~/.sourcegraph/data:/var/opt/sourcegraph \ - sourcegraph/server:3.40.1 + sourcegraph/server:3.40.2 ``` ### Sourcegraph Cluster (Kubernetes) diff --git a/doc/admin/ssl_https_self_signed_cert_nginx.md b/doc/admin/ssl_https_self_signed_cert_nginx.md index 7cfb88b8ed5..5b3647b5237 100644 --- a/doc/admin/ssl_https_self_signed_cert_nginx.md +++ b/doc/admin/ssl_https_self_signed_cert_nginx.md @@ -91,7 +91,7 @@ docker container run \ \ --volume ~/.sourcegraph/config:/etc/sourcegraph \ --volume ~/.sourcegraph/data:/var/opt/sourcegraph \ - sourcegraph/server:3.40.1 + sourcegraph/server:3.40.2 ``` > NOTE: We recommend removing `--publish 7080:7080` as it's not needed and traffic sent to that port is un-encrypted. diff --git a/doc/admin/updates/docker_compose.md b/doc/admin/updates/docker_compose.md index bd6d87bb06e..41f96eb238d 100644 --- a/doc/admin/updates/docker_compose.md +++ b/doc/admin/updates/docker_compose.md @@ -14,7 +14,7 @@ Each section comprehensively describes the steps needed to upgrade, and any manu - The Postgres DBs `frontend` and `codeintel-db` are now given 1 hour to begin accepting connections before Kubernetes restarts the containers. [#4136](https://github.com/sourcegraph/deploy-sourcegraph/pull/4136) -## 3.39 -> 3.40.1 +## 3.39 -> 3.40.2 - `cadvisor` now defaults to run in `privileged` mode. This allows `cadvisor` to collect out of memory events happening to containers which can be used to discover underprovisoned resources. [#804](https://github.com/sourcegraph/deploy-sourcegraph-docker/pull/804) diff --git a/doc/admin/updates/kubernetes.md b/doc/admin/updates/kubernetes.md index 64b7dbe3927..120db5a2e64 100644 --- a/doc/admin/updates/kubernetes.md +++ b/doc/admin/updates/kubernetes.md @@ -14,7 +14,7 @@ - The Postgres DBs `frontend` and `codeintel-db` are now given 1 hour to begin accepting connections before Kubernetes restarts the containers. [#4136](https://github.com/sourcegraph/deploy-sourcegraph/pull/4136) -## 3.39 -> 3.40.1 +## 3.39 -> 3.40.2 - `cadvisor` now defaults to run in `privileged` mode. This allows `cadvisor` to collect out of memory events happening to containers which can be used to discover underprovisoned resources. This is disabled by default in `non-privileged` overlay. [#4126](https://github.com/sourcegraph/deploy-sourcegraph/pull/4126) - Updated the Nginx ingress controller to v1.2.0. Previously this image originated from quay.io, now it is pulled from the official k8s repository. A redeployment of the ingress diff --git a/doc/admin/updates/pure_docker.md b/doc/admin/updates/pure_docker.md index 9a0444ac1dc..fb35a01195b 100644 --- a/doc/admin/updates/pure_docker.md +++ b/doc/admin/updates/pure_docker.md @@ -10,6 +10,11 @@ Each section comprehensively describes the changes needed in Docker images, envi ## Unreleased +## 3.40.1 -> 3.40.2 + +To upgrade, please perform the changes in the following diff: +[https://github.com/sourcegraph/deploy-sourcegraph-docker/commit/312b9f8308148cf9403cc7868eee7b5c9611b121](https://github.com/sourcegraph/deploy-sourcegraph-docker/commit/312b9f8308148cf9403cc7868eee7b5c9611b121) + ## 3.39 -> 3.40.1 - A fix that corrects the default behavior of the `migrator` service is included in this release. An attempt to standardize CLI packages in v3.39.0 unintentionally diff --git a/doc/admin/updates/server.md b/doc/admin/updates/server.md index 8e5ae1c9555..d9c8806ef47 100644 --- a/doc/admin/updates/server.md +++ b/doc/admin/updates/server.md @@ -9,7 +9,7 @@ This document describes the exact changes needed to update a single-node Sourceg -## 3.39 -> 3.40.1 +## 3.39 -> 3.40.2 Follow the [standard upgrade procedure](../deploy/docker-single-container/index.md#upgrade). diff --git a/doc/index.md b/doc/index.md index 13809c798be..fad33d6e66e 100644 --- a/doc/index.md +++ b/doc/index.md @@ -67,7 +67,7 @@ You can quickly try out Sourcegraph locally using Docker, which takes only a few This uses line breaks that are rendered but not copy-pasted to the clipboard. --> -
docker run -d --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.40.1
+
docker run -d --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:3.40.2
 
For next steps, visit the [Docker deployment documentation](admin/deploy/docker-single-container/index.md).