Skip to content

Instantly share code, notes, and snippets.

@ziozzang
Created March 15, 2018 23:12
Show Gist options
  • Save ziozzang/bcf14effdd0926d5ead995a1ced9e305 to your computer and use it in GitHub Desktop.
Save ziozzang/bcf14effdd0926d5ead995a1ced9e305 to your computer and use it in GitHub Desktop.
Source Graph with Docker-compose
version: '2'
services:
sourcegraph:
image: sourcegraph/server
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
php:
image: sourcegraph/codeintel-php
container_name: php
restart: always
networks:
- lsp
java:
image: sourcegraph/codeintel-java
container_name: java
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