Skip to content

Commit

Permalink
updated scratch mount volume config (#920)
Browse files Browse the repository at this point in the history
  • Loading branch information
loujar authored Jun 1, 2023
1 parent b686869 commit bc6be1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose/executors/executor.docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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

0 comments on commit bc6be1b

Please sign in to comment.