forked from src-d/lookout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (35 loc) · 876 Bytes
/
docker-compose.yml
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
version: '3.3'
services:
lookout:
image: "srcd/lookout:latest"
network_mode: "host"
depends_on:
- postgres
environment:
GITHUB_USER: ${GITHUB_USER:-}
GITHUB_TOKEN: ${GITHUB_TOKEN:-}
ports:
- "10301:10301"
entrypoint: ["/bin/sh"]
# sleep because container with db is up but the db itself doesn't accept connections yet
command: ["-c", "sleep 5 && lookoutd migrate && lookoutd serve"]
volumes:
- ./config.yml:/config.yml
dummy:
image: "srcd/lookout-dummy-analyzer:latest"
network_mode: "host"
ports:
- "9930:9930"
bblfsh:
image: "bblfsh/bblfshd:v2.9.0-drivers"
privileged: true
ports:
- "9432:9432"
postgres:
image: "postgres:alpine"
restart: always
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_DB: lookout