Last active
April 27, 2023 18:58
-
-
Save alexfu/cee642f8e5205d52034b64b09d1c52d0 to your computer and use it in GitHub Desktop.
Sourcegraph Docker Compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.8" | |
services: | |
sourcegraph: | |
image: sourcegraph/server:4.4.2 # 4.4.2 is the last version that doesn't have a repo limit | |
container_name: leafly-sourcegraph | |
ports: | |
- 7080:7080 | |
- 3370:3370 | |
volumes: | |
- "~/.sourcegraph/config:/etc/sourcegraph" | |
- "~/.sourcegraph/data:/var/opt/sourcegraph" | |
restart: always # Automatically restart container when Docker restarts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Notes on adding repos
In the UI under Manage Code Hosts, input github token and leafly org
