Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.8 KB

File metadata and controls

29 lines (19 loc) · 1.8 KB

Deploying Sourcegraph executors using Docker Compose

Experimental This deployment is experimental and may change in the future.

We're very much looking for input and feedback on this feature. You can either contact us directly, file an issue, or tweet at us.

A docker-compose file is provided to deploy executors standlone, or alongside your existing Sourcegraph deployment.

Deployment

Prerequisites

  • Install Docker Compose on the server
  • Minimum Docker v20.10.0 and Docker Compose v1.29.0
  • Docker Swarm mode is not supported
  • Clone the deploy-sourcegraph-docker
  • Edit the deploy-sourcegraph-docker/docker-compose/executors/executor.docker-compose.yaml and update the environment variables
  • Follow the instructions in the README.md for more specific deployment instructions.

Note

Executors deployed via docker-compose do not use Firecracker, meaning they require privileged access to the docker daemon running on the host.

If you have security concerns, consider deploying via terraform or installing the binary directly.