Guest User

Untitled

a guest
Dec 10th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. version: '3.3'
  2.  
  3. services:
  4. lookout:
  5. image: "srcd/lookout:latest"
  6. network_mode: "host"
  7. depends_on:
  8. - postgres
  9. - sonarcheck
  10. environment:
  11. GITHUB_USER: ${GITHUB_USER}
  12. GITHUB_TOKEN: ${GITHUB_TOKEN}
  13. ports:
  14. - "10301:10301"
  15. entrypoint: ["/bin/sh"]
  16. # sleep because container with db is up but the db itself doesn't accept connections yet
  17. command: ["-c", "sleep 5 && lookoutd migrate && lookoutd serve"]
  18. volumes:
  19. - ./config.yml:/config.yml
  20. sonarcheck:
  21. image: "srcd/lookout-sonarcheck-analyzer:latest"
  22. network_mode: host
  23. ports:
  24. - "10301:10301"
  25. environment:
  26. SONARCHECK_PORT: 10301
  27. bblfsh:
  28. image: "bblfsh/bblfshd:v2.9.0-drivers"
  29. privileged: true
  30. ports:
  31. - "9432:9432"
  32. postgres:
  33. image: "postgres:alpine"
  34. restart: always
  35. ports:
  36. - "5432:5432"
  37. environment:
  38. POSTGRES_PASSWORD: postgres
  39. POSTGRES_DB: lookout
Add Comment
Please, Sign In to add comment