Deploying Sourcegraph executors using Docker Compose

This feature is in beta and might change in the future.

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

Requirements

Privileged containers are required to run executors in docker-compose. This is because executors require access to the docker daemon running on the host.

Deployment

Prerequisites

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.