-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (48 loc) · 1.3 KB
/
docker-compose.yml
File metadata and controls
49 lines (48 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: '3.3'
volumes:
drivers:
services:
bblfshd:
container_name: bblfshd
image: "bblfsh/bblfshd:v2.10.0"
ports:
- "9432:9432"
volumes:
- type: volume
source: drivers
target: /var/lib/bblfshd
entrypoint: ["/bin/sh"]
command:
- "-c"
- "bblfshd & sleep 1 && bblfshctl driver install --update --all && tail -f /dev/null"
gitbase:
container_name: gitbase
depends_on:
- bblfshd
links:
- bblfshd
image: "srcd/gitbase:v0.18.0"
ports:
- "3306:3306"
volumes:
- /path/to/repos:/opt/repos
environment:
- GITBASE_USER=root
- GITBASE_PASSWORD=""
- GITBASE_REPOS=/opt/repos
- BBLFSH_ENDPOINT=bblfshd:9432
gitbase-spark-connector-jupyter:
container_name: gitbase-spark-connector-jupyter
depends_on:
- gitbase
- bblfshd
links:
- gitbase
- bblfshd
image: "srcd/gitbase-spark-connector-jupyter:latest"
ports:
- "8080:8080"
environment:
- BBLFSH_HOST=bblfshd
- BBLFSH_PORT=9432
- GITBASE_SERVERS=gitbase:3306