by Sourcegraph


OS Ubuntu 18.04

Create Sourcegraph Droplet


Sourcegraph is a code search and intelligence tool for developers. It lets you search and explore all of your organization's code on the web, with integrations into your existing tools. Sourcegraph is used by developers at Uber, Lyft, Yelp, and more to help them search and review code at enterprise scale.

Sourcegraph on DigitalOcean – Demo Video

New in Sourcegraph 3.3+

  • 🛠️ Repository syncing improvements
  • 🧭 "Go to definition" based on the dependency graph
  • 🦅 Swift code navigation
  • 🔌 Bitbucket server integration fixes

And more...

Read the 3.3 release blog post for more details.

Software Included


Getting started after deploying Sourcegraph

Note: Sourcegraph data (PostgreSQL) and configuration (NGINX and Redis) files are stored in `~/.sourcegraph` for the root user.

To set up Sourcegraph, do the following simple steps:
- Create an admin account at `http://Droplet_IP`
- Connect to GitHub to enable repositories for code searching. See how in the configuration screencast

Documentation is at

If you get stuck or need help, file an issue, tweet @srcgraph, or email us.

API Creation

In addition to creating a Droplet from the Sourcegraph 1-Click App via the control panel, you can also use the DigitalOcean API.

As an example, to create a 4GB Sourcegraph Droplet in the SFO2 region, you can use the following curl command. You’ll need to either save your API access token to an environment variable or substitute it into the command below.

  curl -X POST -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer '$TOKEN'' -d \
      '{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image":"sourcegraph-18-04"}' \

Support Details

Supported By:Sourcegraph
Support URL:

Learn More

Product Docs

Technical overviews, how-tos, release notes, and support material


DevOps and development guidelines

API Docs

Run your resources programmatically

Ask a question

Connect, share and learn