Skip to content

Instantly share code, notes, and snippets.

@foreseaz
Forked from ziozzang/docker-compose.yml
Created January 4, 2019 07:04
Show Gist options
  • Save foreseaz/83d8fb6bf1c9c05184dc133167103ff9 to your computer and use it in GitHub Desktop.
Save foreseaz/83d8fb6bf1c9c05184dc133167103ff9 to your computer and use it in GitHub Desktop.
Source Graph with Docker-compose
version: '2'
services:
sourcegraph:
image: sourcegraph/server:2.13.5
restart: always
volumes:
- ./config:/etc/sourcegraph
- ./data:/var/opt/sourcegraph
ports:
- 7080:7080
networks:
- lsp
go:
image: sourcegraph/codeintel-go
container_name: go
environment:
- "SRC_GIT_SERVERS='sourcegraph:3178'"
restart: always
networks:
- lsp
typescript:
image: sourcegraph/codeintel-typescript
container_name: typescript
restart: always
networks:
- lsp
python:
image: sourcegraph/codeintel-python
container_name: python
restart: always
networks:
- lsp
networks:
lsp:
external: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment