Skip to content

A reference terraform repository to deploy Sourcegraph on AWS and connect to a GitHub Enterprise Server instance

Notifications You must be signed in to change notification settings

scjohns/reference-implementation-github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sourcegraph Reference Implementation -- Github Enterprise Server

A reference terraform repository to deploy Sourcegraph on AWS and connect to a Github Enterprise Server instance

Setup

This repository assumes you have the CLI configured for AWS and that your user has the proper permissions to create the resources required to run Sourcegraph.

Prerequisites:

  • aws
  • terraform
  • kubectl
  • helm

Private resources

This repository will not track files containing tls in the terraform/resources directory, but will track the override.yaml file in the terraform/resources directory. Be sure not to commit any sensitive data in your override.yaml file.

Configuring Sourcegraph

After deploying based on the template in terraform, you can set a CNAME record to route your chosen hostname to the newly provisioned ALB for your instance. At that point, you should be able to create your initial admin account and begin configuration.

Some example JSON configuration for Sourcegraph's Site Config is included in sourcegraph-config, as well as an example of the JSON configuration for Github Enterprise Server, with links to documentation in comments on each of those files.

About

A reference terraform repository to deploy Sourcegraph on AWS and connect to a GitHub Enterprise Server instance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published