Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. version: '3.5'
  2. services:
  3. db:
  4. image: postgres:10.3-alpine
  5. environment:
  6. POSTGRES_PASSWORD: root
  7. networks:
  8. - clio_backend
  9. web:
  10. command: "bin/docker_test"
  11. build: .
  12. depends_on:
  13. - db
  14. - chrome
  15. environment:
  16. DATABASE_URL: postgres://postgres:root@db:5432
  17. RAILS_ENV: test
  18. HOST_USER:
  19. HOST_GROUP:
  20. networks:
  21. - clio_backend
  22. selenium-hub:
  23. image: selenium/hub:3.141.59-hafnium
  24. container_name: selenium-hub
  25. ports:
  26. - "9515:9515"
  27. environment:
  28. - GRID_HUB_PORT=9515
  29. networks:
  30. - clio_backend
  31. chrome:
  32. image: selenium/node-chrome:3.141.59-hafnium
  33. volumes:
  34. - /dev/shm:/dev/shm
  35. depends_on:
  36. - selenium-hub
  37. environment:
  38. - HUB_HOST=selenium-hub
  39. - HUB_PORT=9515
  40. networks:
  41. - clio_backend
  42. volumes:
  43. coverage:
  44. networks:
  45. clio_backend:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement