Sourcegraph DocsSourcegraph Docs
  • Code Intelligence

    • Cody
    • Code Search
  • Code Management

    • Batch Changes
    • Code Monitoring
    • Code Ownership
    • Code Insights
    • Notebooks
  • Platform

    • Sourcegraph Admin
    • Sourcegraph Cloud
    • Integrations
  • CLI & API

    • Sourcegraph & Cody CLI
    • Sourcegraph GraphQL API
    • Sourcegraph Stream API
  • Help & Support

    • SLAs & Premium Support
    • How to videos
    • Tutorials
    • Sourcegraph Accounts
    • Changelog
    • Technical changelog
    • Releases
  1. Docs
  2. admin
  3. config

Configuring Sourcegraph

This page documents how to configure a Sourcegraph instance. For deployment configuration, please refer to the relevant deployment docs for your deployment type.

  • Site configuration
  • Global and user settings
  • Code host configuration (GitHub, GitLab, and the Nginx HTTP server.)
  • Search configuration
  • Configuring Authorization and Authentication
  • Batch Changes configuration

Common tasks

  • Add Git repositories from your code host
  • Add user authentication providers (SSO)
  • Configure search scopes
  • Integrate with Phabricator
  • Add organizations
  • Add teams (Experimental)
  • Set up HTTPS
  • Use a custom domain
  • Configure email sending / SMTP server
  • Update Sourcegraph
  • Using external services (PostgreSQL, Redis, S3/GCS)
  • PostgreSQL Config
  • Configuring webhooks
  • Configuring rate limits
  • Configuring command recording

Advanced tasks

  • Loading configuration via the file system
  • Restore postgres database from snapshot
  • Enabling database encryption for sensitive data
  • Configuring Sourcegraph in private networks
Previous
Upgrade
Next
Licensing

On this page

  1. Configuring Sourcegraph

    1. Common tasks
    1. Advanced tasks

Edit this page on GitHub
Questions? Give us feedback