Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.3'
- services:
- lookout:
- image: "srcd/lookout:latest"
- network_mode: "host"
- depends_on:
- - postgres
- - sonarcheck
- 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
- sonarcheck:
- image: "srcd/lookout-sonarcheck-analyzer:latest"
- network_mode: host
- ports:
- - "10301:10301"
- environment:
- SONARCHECK_PORT: 10301
- 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
Add Comment
Please, Sign In to add comment