Skip to content

Instantly share code, notes, and snippets.

@mahmoud-samy
Created February 27, 2020 16:20
Show Gist options
  • Save mahmoud-samy/521685c512e5be50dfda06cf1190375c to your computer and use it in GitHub Desktop.
Save mahmoud-samy/521685c512e5be50dfda06cf1190375c to your computer and use it in GitHub Desktop.
SourceGraph
version: "2.4"
services:
sourcegraph:
image: sourcegraph/server:3.13
expose:
- 7080
ports:
- "0.0.0.0:7080:7080"
volumes:
- sourcegraph_conf:/etc/sourcegraph
- sourcegraph_data:/var/opt/sourcegraph
volumes:
sourcegraph_conf:
sourcegraph_data:
@mahmoud-samy
Copy link
Author

docker run --publish 7080:7080 --publish 127.0.0.1:3370:3370 --rm --volume ~/.sourcegraph/config:/etc/sourcegraph --volume ~/.sourcegraph/data:/var/opt/sourcegraph sourcegraph/server:4.5.1

@mahmoud-samy
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment