From bc6be1b8f4c57d44425a23a4bb37ffeabf38c49b Mon Sep 17 00:00:00 2001 From: Louis Jarvis <31862633+loujar@users.noreply.github.com> Date: Thu, 1 Jun 2023 08:15:55 -1000 Subject: [PATCH] updated scratch mount volume config (#920) --- docker-compose/executors/executor.docker-compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose/executors/executor.docker-compose.yaml b/docker-compose/executors/executor.docker-compose.yaml index ed8a2a4..12b3572 100644 --- a/docker-compose/executors/executor.docker-compose.yaml +++ b/docker-compose/executors/executor.docker-compose.yaml @@ -17,7 +17,7 @@ services: # Choose what work to process - EXECUTOR_QUEUE_NAME= # Note: Must match left-hand side of scratch volume mount - - EXECUTOR_DOCKER_HOST_MOUNT_PATH=/tmp/sourcegraph/executor-scratch + - EXECUTOR_DOCKER_HOST_MOUNT_PATH=/scratch # Note: Must match right-hand side of scratch volume mount - TMPDIR=/scratch # Run as root (required for docker daemon control) @@ -27,7 +27,7 @@ services: # Mount docker socket - '/var/run/docker.sock:/var/run/docker.sock' # Mount volume for workspaces shared by executor and launched containers - - '/tmp/sourcegraph/executor-scratch:/scratch' + - '/scratch:/scratch' networks: - sourcegraph restart: always