* Add in migrator containers * migration: block all services until frontend is up Only use a single migration container and the generic `up` command * migrator: remove new_migrations env var No longer needed * migrator: Now with 50% less depends * migrator: add link todocs for running without codeinsights * migrator: reduce resource usage to 1/4 * migrator: bump migrator version to 3.36.3 * migrator: remove new_migrations * migrator: re-add depends_on * migrator: add new_migrations back in to test CI * migrator: bump version to insiders to align * update insider shas * change frontend healthcheck dependency * tweak frontend healthcheck (#762) * Remove NEW_MIGRATIONS flag Co-authored-by: Dave Try <davetry@gmail.com> Co-authored-by: Michael Lin <mlzc@hey.com> Co-authored-by: Crystal Augustus <91073224+caugustus-sourcegraph@users.noreply.github.com>
Sourcegraph with Docker Compose
This repository is the deployment reference for deploying Sourcegraph with Docker Compose.
🚨 IMPORTANT: When upgrading Sourcegraph, please check upgrading docs to check if any manual migrations are necessary.
The
masterbranch tracks development. Use the branch of this repository corresponding to the version of Sourcegraph you wish to deploy, e.g.git checkout 3.19.
For product and pricing information, visit about.sourcegraph.com or contact us for more information. If you're just starting out, we recommend running Sourcegraph as a single Docker container or using Docker Compose. Migrating to Sourcegraph on Kubernetes is easy later.
Is Docker Compose the right deployment type for me?
Please see our docs for comparisons of deployment types and our resource estimator.
Contributing
We've made our deployment configurations open source to better serve our customers' needs. If there is anything we can do to make deploying Sourcegraph easier just open an issue (in sourcegraph/sourcegraph) or a pull request and we will respond promptly!
Questions & Issues
Open an issue (in sourcegraph/sourcegraph) or contact us (support@sourcegraph.com), we are happy to help!
Pure-Docker Sourcegraph cluster deployment reference
What if your organization wants a multi-machine deployment without using Kubernetes? What if you use a different container management platform, for example? Anyone using a container management platform other than Kubernetes (Netflix's Titus, Apache's Mesos, etc.) can use our Pure-Docker Sourcegraph cluster deployment reference to deploy Sourcegraph.